Introduction
Welcome to the .NET Getting Started guide. This tutorial will walk you through setting up the .NET SDK, creating a simple console application, and running it on your machine.
Prerequisites
- Operating System: Windows, macOS, or Linux
- Administrator or sudo privileges for installation
- Internet connection to download the SDK
Install the .NET SDK
Visit the official download page and select the installer for your OS.
curl -sSL https://dot.net/v1/dotnet-install.sh | bash -s -- --channel LTSAfter installation, verify the version:
dotnet --versionYour First Hello World
- Create a new console project:
dotnet new console -o HelloWorld- Navigate to the project folder:
cd HelloWorld- Run the application:
dotnet runYou should see Hello, World! printed in the console.
Next Steps
Explore more resources to deepen your .NET knowledge: