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!");

Official C# 14 documentation

More basics commands

All basics commands · C# 14 cheatsheet

Was this page helpful?