C# 14 · Basics
Write a program without a Main method
Top-level statements: the file's statements are the program. Implicit usings bring in common namespaces.
Console.WriteLine("Hello, world!");
C# 14 · Basics
Top-level statements: the file's statements are the program. Implicit usings bring in common namespaces.
Console.WriteLine("Hello, world!");
Was this page helpful?