Skip to content

Your first console app Hello World

Context: This section walks through creating a simple “Hello World” console app using .NET 10.

Creating your first .NET console application is straightforward with the dotnet CLI.

  1. Create a new console project
  2. Write the Hello World code
  3. Run the application
  • 1.6.1 Create project dotnet new console n HelloWorld
  • 1.6.2 Write Console.WriteLine Hello World
  • 1.6.3 Run and observe output