When encountering issues with async/await while building a Windows Forms application recently I came across this helpful class that allows you to await returning to the initial (usually UI) thread...
Recently I had a need to map an IDataRecord to an entity class object in C# without using reflection for performance reasons, and because I can. Here is the code…