Just click the run
icon to get started
Console.WriteLine("Hello World!");
Congratulations! You've run your first C# program. It used the Console.WriteLine method to print Hello World
. Console
is a type that represents the console window. WriteLine
is a method of the Console
type that prints a line of text.