Top-level programs in C# 9.0

added by DotNetKicks
9/3/2020 7:19:22 AM

517 Views

C# 9.0 comes with nice new feature called top-level programs. It's something that teachers of beginner classes will love for sure. Imagine - you start teaching C# with only two lines of code on screen. All missing code is generated by compiler. This blog post introduces top-level programs and shows some secrets of new C# compiler.


0 comments