Monday, 9 February 2026

Top Level Statements (TLS) in .NET

Top level statements were introduced in .NET 9 as a way to avoid Main methods in .NET programs. This makes .NET programs look more like simple scripts.

No comments: