C# & .NET Essentials
Build modern .NET applications, ASP.NET Core APIs, and Unity games with C# 12. Master types, pattern matching, properties, records, LINQ, and async/await.
What you'll build & master
- ✓ Write concise modern C# with string interpolation, var, and nullable reference types
- ✓ Simplify branching using switch expressions and relational pattern matching
- ✓ Model domain objects cleanly with auto-properties, init-only setters, and records
- ✓ Query and transform collections expressively using LINQ (Where, Select, OrderBy)
- ✓ Write non-blocking I/O code using async, await, and Task<T>
Course Syllabus
C# Foundations
Object-Oriented C#
- 19 min
Classes, Properties & Records
Model clean domain types with C# auto-properties, init-only setters, and immutable records with non-destructive 'with' copies.
- 28 min
Interfaces & Dependency Injection
Decouple .NET services with I-prefixed interfaces and C# 12 primary constructors.
- 38 min
Generics & Type Constraints
Write reusable, compile-time-safe C# classes and methods with <T> and where T : constraints.
Modern .NET APIs
- 19 min
LINQ & Collections
Query, filter, sort, and project in-memory collections declaratively using C#'s LINQ extension methods.
- 29 min
Async/Await & Task<T>
Write scalable, non-blocking .NET code using async, await, Task<T>, and Task.WhenAll for concurrent work.
- 38 min
Exceptions & IDisposable (using)
Handle failures cleanly with try/catch/finally and automatically release resources with C#'s using declaration.
- 48 min
Dictionaries, HashSets & TryGetValue
Avoid KeyNotFoundException with TryGetValue() and deduplicate collections fast with HashSet<T>.
Production .NET 8
- 18 min
JSON Serialization with System.Text.Json
Serialize and deserialize C# records to and from JSON cleanly using .NET's high-performance System.Text.Json.
- 28 min
ASP.NET Core Minimal APIs & Routing
Understand how modern .NET 8 Minimal APIs map HTTP routes, validate inputs, and return typed JSON responses.