Run C# Code Directly Without Project Files: .NET 10 Preview 4

.NET 10 Preview 4 introduces a game-changing feature: you can now run C# files directly using `dotnet run app.cs`—no project file or scaffolding needed! This significantly lowers the barrier to entry for C#, making it ideal for learning, prototyping, or quick scripts. Leverage powerful file-level directives like `#:package`, `#:sdk`, and `#:property` to manage NuGet packages, SDKs, and MSBuild properties directly within your .cs file, all while maintaining compatibility with existing MSBuild concepts. Even as your script grows into a full application, seamless conversion to a project-based app is supported. This streamlined workflow simplifies the C# development experience, making it incredibly approachable and convenient for CLI utilities, automation scripts, and more.