Before you write any real C#, you need to know what you're actually installing and running. .NET is the free, open-source, cross-platform platform that C# code runs on, and it is made up of a runtime, a set of libraries, and the SDK tooling that ties them together. Understanding that split early makes every later error message, project file, and deployment step less mysterious.
This module starts with the big picture: what .NET is, how it relates to C#, and what you can build with it. It then moves to the practical setup — installing the .NET SDK, getting an editor ready, and creating and running your first console app — before zooming into the dotnet CLI commands (build, run, watch, clean, publish) that you'll use every day, whether or not you ever open an IDE.
Watch the lessons in order, then continue on to C# Language Basics.
Scott Hanselman answers the question every newcomer asks: what .NET actually is, how it differs from C# the language, and how the pieces — runtime, libraries, and tooling — fit together.
A hands-on walkthrough from Bek Brace that starts by setting up the .NET development environment, installing the SDK, and learning the command-line tools before moving into your first C# code.
Tim Corey covers the dotnet commands that handle most day-to-day work — build, run, watch, clean, and publish — and how to confirm your installation with dotnet --info.
freeCodeCamp's full beginner course, created by Aba from CoffeeNCode. Watch the opening sections on installing Visual Studio and taking your first steps in C#, then keep it as a reference for the modules ahead.