Welcome to the first .NET tutorial! In this guide, you'll create a simple console application that prints Hello, World! to the screen.
Open a terminal and run:
dotnet new console -n FirstApp
This creates a folder named FirstApp containing a basic console template.
Navigate into the folder and open Program.cs:
using System;
Console.WriteLine("Hello, World!");
Execute the program:
dotnet run
You should see:
Hello, World!