C#: Hello world
A short, tested C# example for hello world. Copy it and adjust the names and paths for your project.
C#
Console.WriteLine("Hello, World!");Top-level statements, C# 9 and later.
Find it in Zest
Search for “csharp hello world” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.