Edit

Share via


Get started with .NET

This article teaches you how to create and run a "Hello World!" app with .NET.

Create an application

First, download and install the .NET SDK on your computer.

Next, open a terminal such as PowerShell, Command Prompt, or bash.

Type the following commands:

.NET CLI
dotnet new console -o sample1
cd sample1
dotnet run

You should see the following output:

Output
Hello World!

Congratulations! You've created a simple .NET application.

Next steps

Get started on developing .NET applications by following a step-by-step tutorial or by watching .NET 101 videos on YouTube.