Write a C# program that prints Hello, World! to the console.
Ready — edit the code above and click Run.
using System;
class Program
{
static void Main()
{
Console.WriteLine("Hello, World!");
}
}
Try solving on your own first, then reveal the official answer.
Use Console.WriteLine to output text. Every console app needs a Main entry point.