Skip to content

Setting Up Your Development Environment

Required Software

  1. .NET SDK
bash
# Check if .NET is installed
dotnet --version
  1. Code Editor
  • Visual Studio Code with C# extension
  • Visual Studio
  • JetBrains Rider

Creating Your First Project

bash
# Create a new console application
dotnet new console -n MyFirstApp

# Run the application
cd MyFirstApp
dotnet run

Project Structure

MyFirstApp/
├── Program.cs          # Main entry point
├── MyFirstApp.csproj   # Project file
└── obj/                # Build artifacts