Command Line Arguments and C# 9.0 Top Level Statement - Visual Studio - Daily .NET Tips

added by DotNetKicks
6/10/2021 5:39:20 PM

813 Views

Until C# 9.0, It was all about the Main() method where program control start and ends. With C# 9.0, you don't need to mention the Main() method or Class definition explicitly using Top-Level Statement. Then how do you pass command-line arguments for your program? especially when you are running it from Visual Studio.


0 comments