3 ms·
There are now Top level statements in C# 9. - https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/top-level-statements https://docs.microsoft.co
by majkinetor 6y ago
There are now Top level statements in C# 9.
- https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/top-level-statements https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/tut...
> Top-level statements enable you to avoid the extra ceremony required by placing your program's entry point in a static method in a class.