====================================================================
Published: 16 March 2023
Tags: c#, dotnet
The support for asynchronous programming in C# and .NET has been around for over a decade. In that time, it’s transformed how scalable code is written for .NET. Stephen Toub dives into the history leading to, the design decisions behind, and implementation details of asynchronous programming in C# and .NET.
Some highlights:
- .NET has a universal representation for any asynchronous operation
- C# and the compiler are capable of rewriting normal control flow into a state machine implementation of coroutines
- There are established patterns that bind everything together