
Day 1: Setting up C# and .NET
Get your development environment ready and write your very first C# program (Hello World).
๐ Theory (Short Description)
.NET SDK โ The toolkit that lets you build and run C# programs.
CLR (Common Language Runtime) โ The engine that runs your code.
Project templates โ
dotnet new consolecreates a simple console app.IDE โ Visual Studio / VS Code help you write and debug code.
๐ป Practice
Step 1 โ Install .NET SDK
Download & install from: https://dotnet.microsoft.com/download
Verify installation:
dotnet --version
Step 2 โ Create Your First Project
mkdir Playground
cd Playground
dotnet new console -n HelloWorldApp
cd HelloWorldApp
Step 3 โ Run the Project
dotnet run
Expected output:
Hello, World!
Step 4 โ Modify Program.cs
Open Program.cs and change it to:
Console.WriteLine("Hello Tuong Vy, welcome to C#!");
Run again:
dotnet run