Learn C# — Advanced
Design data models and process them in memory in C#. Use records, Span views, asynchronous pipelines and channels; control resources, formatting and JSON serialization.
COURSE OVERVIEWREADY
Lessons: 58
Quizzes: 10
All steps: 68
$Ready to start
What you will learn
- Choose records, classes and structs according to data equality, control changes through readonly, init and with, and describe nullability contracts.
- Process text and collections through Span, ReadOnlySpan, LINQ and pattern matching, reduce unnecessary copies, and distinguish conventional counters from performance measurements.
- Build async pipelines and channels with cancellation and closure control, manage resources, and separate configuration, domain logic and result presentation.
- Create custom JSON converters, enforce identifier formats, check the scope of the write–read round trip, and prepare reproducible reports independent of culture settings.
SYLLABUS / 68
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
58 lessons10 quizzes68 steps total
- 01LESSONLESSON 1: Overview of modern C# (C# 9–12): what and whyAvailable now
- 02LESSONLESSON 2: Records (advanced): positional, inheritance, with, required, equalityLocked
- 03LESSONLESSON 3: Advanced pattern matching: relational, logical, and positional patterns and the when guardLocked
- 04LESSONLESSON 4: switch expression — idioms and eliminating if/elseLocked
- 05LESSONLESSON 5: Generic math in C#: INumber<T> and operatorsLocked
- 06LESSONLESSON 6: Static abstract members in interfaces (C# 11+)Locked
- 01QUIZQuiz 1: applying knowledge from lessons 1–6Locked
- 07LESSONLESSON 7: Default Interface Methods — API EvolutionLocked
- 08LESSONLESSON 8: Value Semantics: readonly struct, ref struct, scopedLocked
- 09LESSONLESSON 9: Span<T> and ReadOnlySpan<T> — Allocation-Free ProcessingLocked
- 10LESSONLESSON 10: Memory<T> and memory owners (IMemoryOwner<T>)Locked
- 11LESSONLESSON 11: stackalloc and buffering on the stack (without unsafe)Locked
- 12LESSONLESSON 12: Minimizing allocations and copies — practical techniquesLocked
- 02QUIZQuiz 2: applying knowledge from lessons 7–12Locked
- 13LESSONLESSON 13: ArrayPool<T> and Object Pools — Memory ManagementLocked
- 14LESSONLESSON 14: ValueTask and Low-Overhead AsynchronyLocked
- 15LESSONLESSON 15: IAsyncEnumerable<T> — Asynchronous Streams and Pipeline ProcessingLocked
- 16LESSONLESSON 16: Channels (System.Threading.Channels) — producer-consumer queuesLocked
- 17LESSONLESSON 17: Synchronization: lock, Monitor, and critical sectionsLocked
- 18LESSONLESSON 18: Atomic operations: Interlocked and safe counter patternsLocked
- 03QUIZQuiz 3: applying knowledge from lessons 13–18Locked
- 19LESSONLESSON 19: Concurrent collections: ConcurrentDictionary, ConcurrentQueue, ConcurrentBagLocked
- 20LESSONLESSON 20: Immutable collections (Immutable*) — concurrency safety by designLocked
- 21LESSONLESSON 21: Advanced cancellation and timeouts — token compositionLocked
- 22LESSONLESSON 22: Exception handling (advanced): exception filters, rethrow, error policiesLocked
- 23LESSONLESSON 23: Reflection — inspecting types and metadataLocked
- 24LESSONLESSON 24: Attributes — designing custom attributes and validationLocked
- 04QUIZQuiz 4: applying knowledge from lessons 19–24Locked
- 25LESSONLESSON 25: Expression Trees (Expression<TDelegate>) — Generating Logic at Run TimeLocked
- 26LESSONLESSON 26: dynamic and the DLR — Where It Makes Sense, Where to Avoid ItLocked
- 27LESSONLESSON 27: Iterator Pattern (Advanced): Memory-Efficient Custom EnumeratorsLocked
- 28LESSONLESSON 28: Designing Equality and Comparison for Performance (sort, hash)Locked
- 29LESSONLESSON 29: LINQ (advanced): custom operators and pipeline flowsLocked
- 30LESSONLESSON 30: LINQ and performance: avoiding allocation pitfalls and multiple enumerationLocked
- 05QUIZQuiz 5: applying knowledge from lessons 25–30Locked
- 31LESSONLESSON 31: API Design: Contracts, IDisposable, IAsyncDisposableLocked
- 32LESSONLESSON 32: using and Deterministic Resource Disposal Without I/OLocked
- 33LESSONLESSON 33: Advanced Formatting: IFormatProvider, Custom FormatsLocked
- 34LESSONLESSON 34: Globalization and culture — testable in-memory formattingLocked
- 35LESSONLESSON 35: Time models: an injected clock (IClock) and testabilityLocked
- 36LESSONLESSON 36: Domain modeling: immutable values, Value ObjectsLocked
- 06QUIZQuiz 6: applying knowledge from lessons 31–36Locked
- 37LESSONLESSON 37: Type-Safe Identifiers as readonly record structLocked
- 38LESSONLESSON 38: Mapping Data Without Libraries: Manual Projections and AdaptersLocked
- 39LESSONLESSON 39: In-Memory Serialization (System.Text.Json): Options and Custom ConvertersLocked
- 40LESSONLESSON 40: Safe Deserialization — Validation and ContractsLocked
- 41LESSONLESSON 41: Designing Errors Without Exceptions: Result<T> and OneOf-like VariantsLocked
- 42LESSONLESSON 42: FSM (finite state machine) with pattern matchingLocked
- 07QUIZQuiz 7: applying knowledge from lessons 37–42Locked
- 43LESSONLESSON 43: Modularity and boundaries: interfaces, records, domain eventsLocked
- 44LESSONLESSON 44: DI (advanced): composition root and module configurationLocked
- 45LESSONLESSON 45: Efficient pipelines: combining LINQ + Channels + IAsyncEnumerableLocked
- 46LESSONLESSON 46: Parallelism with pressure control: back-pressure on channelsLocked
- 47LESSONLESSON 47: Cost analysis: allocations vs copies vs locks — design decisionsLocked
- 48LESSONLESSON 48: Designing APIs for testability and deterministic scenariosLocked
- 08QUIZQuiz 8: applying knowledge from lessons 43–48Locked
- 49LESSONLESSON 49: Pipelines, Filtering, Mapping, and Partial Function ApplicationLocked
- 50LESSONLESSON 50: Operator Overloading — Monetary Calculations and RecordsLocked
- 51LESSONLESSON 51: Index and Range in Efficient Data SlicesLocked
- 52LESSONLESSON 52: readonly and init — consistency and immutability in the modelLocked
- 53LESSONLESSON 53: Nullability (advanced): annotations, contracts, flow analysisLocked
- 09QUIZQuiz 9: applying knowledge from lessons 49–53Locked
- 54LESSONLESSON 54: Records vs classes — choosing for semantics and performanceLocked
- 55LESSONLESSON 55: Project: fast text processing with Span<T>/ReadOnlySpan<T>Locked
- 56LESSONLESSON 56: Project: an event pipeline on Channels with cancellationLocked
- 57LESSONLESSON 57: Project: a mini-DSL with records + pattern matchingLocked
- 58LESSONLESSON 58: In-Memory Serialization with a Custom JsonConverterLocked
- 10QUIZQuiz 10: applying knowledge from lessons 54–58Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status