โ† All courses

C#

C# Async Programming: Task, async/await & Cancellation

Master asynchronous C#: what async/await actually do, running work concurrently with Task.WhenAll and Task.WhenAny, cancelling long-running operations with CancellationToken, handling exceptions across async code, and streaming results with IAsyncEnumerable.

7 lessons

Start the first lesson

Curriculum

  1. 1Introduction to Asynchronous Programming๐Ÿ“ quiz
  2. 2async and await๐Ÿ“ quiz
  3. 3Task.WhenAll and Task.WhenAny๐Ÿ“ quiz
  4. 4Cancellation with CancellationToken๐Ÿ“ quiz
  5. 5Exception Handling in Async Code๐Ÿ“ quiz
  6. 6Async Streams with IAsyncEnumerable๐Ÿ“ quiz
  7. 7Final Project: Async Multi-Source Downloader

Every lesson is open, take them in order or jump straight to what you need.