Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close
    C# Language: back to the track

    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
    1. 01Advanced diagnostic: state the invariant and reason about ownershipFree22 min
    2. 02Controlled concurrency: lock versus InterlockedFree25 min
    3. 03Async coordination with SemaphoreSlim, cancellation and permit ownership (included with Full Access)26 min
    4. 04Bounded Channels: backpressure and completion (included with Full Access)30 min

    Module 2 · Control asynchronous pipelines and outcomes

    4 lessons · 1 h 46 min
    1. 05Async streams: cancellation and enumerator disposal (included with Full Access)25 min
    2. 06Async failure scopes: own and observe every task (included with Full Access)28 min
    3. 07Timeouts, cancellation and bounded retry-safe local work (included with Full Access)29 min
    4. 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
    1. 09Span and ReadOnlySpan: slices, aliases and ownership (included with Full Access)27 min
    2. 10ArrayPool: logical length and finally-return ownership (included with Full Access)28 min
    3. 11Parse a slice: define the grammar before avoiding strings (included with Full Access)18 min
    4. 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
    1. 13Design generic producers and consumers with variance (included with Full Access)18 min
    2. 14Inspect behaviour as data with expression trees (included with Full Access)18 min
    3. 15Reflect deliberately and preserve the metadata you need (included with Full Access)18 min
    4. 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
    1. 17Build an owned bounded report pipeline (included with Full Access)30 min
    2. 18Prove failure and cancellation with controlled schedules (included with Full Access)30 min
    3. 19Measure a change without confusing the result with a guarantee (included with Full Access)20 min
    4. 20Return later: defend ownership and failure decisions (included with Full Access)22 min

    TechInterviewNotes Editorial Team ·