Guided course · C# Language
C# Advanced: Concurrency, Memory and Lifetimes
Build a report pipeline with a bounded queue and prove its behavior under failure.
- Prerequisites: generics, LINQ, async and cancellation from Intermediate.
- Coordinate workers, use spans and pooled buffers, and check resource lifetimes.
- First two lessons free; lessons 3–20 included with Full Access.
Advanced5 modules · 20 lessons · 7 h 56 min · 2 free
Module 1 · Own state and coordinate concurrent work
4 lessons · 1 h 43 min- 01Advanced diagnostic: state the invariant and reason about ownershipFree22 min
- 02Controlled concurrency: lock versus InterlockedFree25 min
- 03Async coordination with SemaphoreSlim, cancellation and permit ownership (included with Full Access)26 min
- 04Bounded Channels: backpressure and completion (included with Full Access)30 min
Module 2 · Control asynchronous pipelines and outcomes
4 lessons · 1 h 46 min- 05Async streams: cancellation and enumerator disposal (included with Full Access)25 min
- 06Async failure scopes: own and observe every task (included with Full Access)28 min
- 07Timeouts, cancellation and bounded retry-safe local work (included with Full Access)29 min
- 08ValueTask: consumption is part of the API contract (included with Full Access)24 min
Module 3 · Manage memory views, parsing and identity
4 lessons · 1 h 31 min- 09Span and ReadOnlySpan: slices, aliases and ownership (included with Full Access)27 min
- 10ArrayPool: logical length and finally-return ownership (included with Full Access)28 min
- 11Parse a slice: define the grammar before avoiding strings (included with Full Access)18 min
- 12Keep hash keys stable and equality consistent (included with Full Access)18 min
Module 4 · Design language and lifetime boundaries
4 lessons · 1 h 14 min- 13Design generic producers and consumers with variance (included with Full Access)18 min
- 14Inspect behaviour as data with expression trees (included with Full Access)18 min
- 15Reflect deliberately and preserve the metadata you need (included with Full Access)18 min
- 16End resource and callback lifetimes explicitly (included with Full Access)20 min
Module 5 · Build and verify the report processing engine
4 lessons · 1 h 42 min- 17Build an owned bounded report pipeline (included with Full Access)30 min
- 18Prove failure and cancellation with controlled schedules (included with Full Access)30 min
- 19Measure a change without confusing the result with a guarantee (included with Full Access)20 min
- 20Return later: defend ownership and failure decisions (included with Full Access)22 min
TechInterviewNotes Editorial Team ·