Feed / DotNet
lowDotNetTop-level statementsnew featurelink_discovery · Jul 16, 2026

[Docs] Feature specification - Top-level statements

C# now supports top-level statements which allow programs to be written without a Main method, simplifying code structure and reducing boilerplate. This change makes it easier for developers to write concise applications while maintaining compatibility with existing code.

Linked from "Top-level statements - programs without Main methods - C ": Feature specification - Top-level statements
View original article →
Audience
developer
Environment
cloudhybridon_premises
Ontology Topics
MD-102
Classification confidence: 95%
Loading correlations…
[Docs] Feature specification - Top-level statements | 365Forge