Skip to content

Language reference: Top level statements #20586

Closed

Description

@BillWagner

The page for Main should include the new valid entry points for a C# program. This should include the restrictions on top-level statements and multiple files. This should also include how the synthesized Main method responds to the presence of await expressions in top-level statements. It should also include how to access args and return an int value.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions