Guided courses
Courses
31 courses · 418 lessons
C# Language courses
5 coursesClear filters
- Advanced
C# Internals: Value Types, Reference Types and the Heap
How value types and reference types really work: the stack-versus-heap truth, a precise storage model, boxing, the large-struct trap and a framework for choosing between struct and class, with a quiz, a coding exercise and a benchmark.
18 lessons · 1 h 1 min - Advanced
C# Internals: Boxing and Unboxing
Boxing and unboxing from first principles: the IL behind them, hidden boxing in interfaces, collections and equality, the GC and CPU cost, and how to find and remove boxing, with a coding exercise and a benchmark.
21 lessons · 51 min - Advanced
C# Internals: ref, in, out and Byref Aliasing
Passing by value and by reference in C#: byrefs and aliasing, ref, out and in parameters, readonly refs and defensive copies, ref returns and escape rules, and the copy-versus-alias cost trade-off, with IL inspection and a benchmark.
34 lessons · 1 h 35 min - Advanced
Expression Trees to the CLR: Advanced C# Concepts with Examples
Advanced C# concepts explained with examples: expression trees, delegates and events, generics, LINQ query providers, async/await, and how the CLR and IL tie them together.
8 lessons · 1 h 20 min · 6 practice tests - AdvancedFree
C# Source Generators
How a C# source generator runs inside the compiler, what an incremental generator may and may not do, and how to test the source it emits.
3 lessons · 24 min · 3 practice tests