.NET Blog (original) (raw)
Featured posts
Latest posts
.NET 10 Preview 5 is now available!
.NET Team
Find out about the new features in .NET 10 Preview 5 across the .NET runtime, SDK, libraries, ASP.NET Core, Blazor, C#, .NET MAUI, and more!
Announcing dotnet run app.cs – A simpler way to start with C# and .NET 10
Damian Edwards
We are super excited to introduce a new feature that was released as part of .NET 10 Preview 4 that makes getting started with C# easier than ever. You can now run a C# file directly using . This means you no longer need to create a project file or scaffold a whole application to run a quick script, test a snippet, or experiment with an idea. It's simple, intuitive, and designed to streamline the C# development experience, especially for those just getting started. What is ? Until now, executing C# code using the CLI required a project structure that included a file. With this new capability, which we call fi...