1. Home
  2. Learn C# from zero: a simple 8-week plan

Learning

Learn C# from zero: a simple 8-week plan

By Nojan · · 3 min read

Cet article est en anglais seulement pour le moment.

C# is a good first programming language. It's used for business apps, websites, games, and Windows and phone apps, and everything you need to start is free. With about an hour a day, this plan takes you from your first line of code to small programs of your own in eight weeks.

What you need

  • A computer with Windows, macOS or Linux.
  • The free .NET SDK. The newest version is .NET 11, released in November 2026. .NET 10 is the long-term support version. Both are supported until November 2028, so either one is fine for learning.
  • A code editor: Visual Studio Code with the C# Dev Kit, or Visual Studio Community on Windows. Both are free for learners.

Not ready to install anything? Microsoft's C# tutorials can run in your browser with GitHub Codespaces and a free GitHub account.

Your first program

Since .NET 10, a C# program can be a single file. Make a file called hello.cs with this one line:

Console.WriteLine("Hello! This is my first C# program.");

Open a terminal in the same folder and run:

dotnet run hello.cs

Your message appears. That's a real C# program.

The 8-week plan

About an hour a day. Each week ends with a small project you build yourself.

WeekLearnBuild
1Variables, numbers and text, and reading what the user typesA tip calculator
2Decisions with if and switch, and loopsA number-guessing game
3Arrays, lists and foreachA grade book that shows the average, highest and lowest mark
4Methods, and finding bugs with the debuggerA unit converter with a menu
5Classes and objectsA small library: books, members and loans
6Records, enums, interfaces and handling errorsA bank account that refuses to go below zero
7Saving to files and reading JSONA to-do list that remembers your tasks
8Git and GitHub, and a project of your ownYour choice: something you'd actually use

Habits that make it stick

  • Type the code yourself instead of copying it.
  • Read the whole error message. It usually tells you the line and what's wrong.
  • Use the debugger to go through your code one line at a time.
  • Change a working example on purpose, and guess what will happen before you run it.
  • Keep a short notes file of what you learned and the mistakes you fixed.
  • When you ask for help, share your code and the exact error.

Free resources

  • Microsoft Learn: the "Get started with C#" learning paths, six parts for complete beginners.
  • The C# tutorials in Microsoft's .NET documentation, which you can run in your browser.
  • Microsoft's "C# for Beginners" video series on YouTube.

Want a teacher?

Nojan teaches C# one-to-one, online on Zoom, with a working developer. Lessons are one hour for $45, and your first session is half price. After Programming 1, you can go on to object-oriented C#, advanced C# and .NET, and web apps with ASP.NET.

Learn C# with a teacherOne-to-one on Zoom. First session half price.
Book your first lesson

Sources

Prices and dates were checked in November 2026. They change, so check before you buy.

‹ All articles

Your bag is emptyCheckout ›