Learn C#: A Practical Path Through the Examples

This page puts the site’s examples in a sensible order for someone learning C#. It assumes you have installed the .NET SDK and can create a console project with dotnet new console. Each step builds on the previous one, but feel free to skip what you already know.

1. The basics

Start by getting output on the screen and data into your program.

2. Strings, numbers and dates

Most bugs in beginner code come from formatting and parsing. These posts explain the culture settings that cause them.

3. Collections and LINQ

Once you can work with single values, learn to work with many of them.

4. Types and language features

5. Files and data

6. Asynchronous and concurrent code

Leave this until the earlier steps feel comfortable. It is where most hard-to-reproduce bugs live.

7. Algorithms and data structures

Writing these yourself is the best way to understand what the built-in types do for you.

When you are ready to test yourself, work through the interview questions and answers.