This repository contains the code examples and exercises for the DomeTrain course Mastering C#.
Each exercise has its own folder with a starting project. Pause the video before each demo, try the exercise yourself, then continue watching.
- Visual Studio Code (optionally with the C# Dev Kit) plus the .NET SDK for building from the command line, or
- Visual Studio, or
- JetBrains Rider
| # | Module | Description | Details |
|---|---|---|---|
| 01 | Language Versions and Target Frameworks | Multi-targeting, init-only properties, PolySharp, LangVersion, and Directory.Build.props. |
src/01/README.md |
| 02 | C# Type System Mastery | Value vs reference types, classes, structs, records, tuples, and unions. | src/02/README.md |
| 03 | Expressive C# | Extension everything, argument validation, pattern matching, delegates, and lambdas. | src/03/README.md |
| 04 | LINQ and Iteration | foreach and IEnumerable, iterator blocks, LINQ laziness, and LINQ performance. |
src/04/README.md |