.NET language playground
The above example shows state machine that was generated by a source code containing only one await keyword. When we use await more than once in the given method, the state machine ends up with more complicated MoveNext version. If you would like to experiment with it, I recommend https://sharplab.io/ for viewing Intermediate Language or a downloadable tool ILSpy which has similar functionality.
Decompile .NET DLL using ILSpy. Undo C# syntactic sugar
1 project | reddit.com/r/csharp | 7 Aug 2022
1 project | reddit.com/r/csharp | 24 Jul 2022
Will null parameter override default value of parameter?
1 project | reddit.com/r/csharp | 15 Jul 2022
How does C# async/await work internally?
2 projects | reddit.com/r/csharp | 12 Jul 2022
should i use the index and range operators from c#8.0
1 project | reddit.com/r/csharp | 25 Jun 2022