Skip to content

.NET Multithreading

Advanced .NET Threading

Advanced .NET Threading, Part 1: Thread Fundamentals

Advanced .NET Threading, Part 2: Compute-Bound Async Operations

Advanced .NET Threading, Part 3: I/O-Bound Async Operations

Advanced .NET Threading, Part 4: Thread Synchronization Primitives

Advanced .NET Threading, Part 5: Thread Synchronization Locks

Task Parallel Library (TPL)

Use Task.Run for CPU-bound work and async/await for I/O bound work.

Example

Review this cheatsheet and adapt the commands to your environment before execution.