Setup
C# runs on .NET, which is now cross-platform (Linux, macOS, Windows). Install the .NET SDK and you're ready to go.
Lessons
1
Hello, World!
C# has evolved dramatically. Modern C# (12+) lets you write Hello World in one l…
→
2
Variables & Types
C# has a rich type system with value types, reference types, and nullable types.…
→
3
Control Flow
C# control flow is classic C-family. The highlight is pattern matching in switch…
→
4
Methods & Properties
In C#, properties are special class members that look like fields but act like m…
→
5
Collections
C# has a rich set of collection types in System.Collections.Generic. List<T> is …
→
6
Classes & OOP
C# is a thoroughly object-oriented language. Classes, inheritance, interfaces, a…
→
7
LINQ & Async/Await
LINQ is what makes C# shine for data manipulation. async/await is what makes C# …
→
8
Mini Project: Simple Calculator
A console calculator that evaluates expressions and tracks history, using everyt…
→
9
C# Cheatsheet
Modern C# on one page — records, LINQ, async, pattern matching.
→