Async Main() is available, but hidden

Avatar

Pam

Check out this quick tip on unlocking the new features of C# 7.1 from Premier Developer consultant Ben Williams.


Ever try to use async/await in your Main method of a .NET app? You couldn’t before, but now you can. I just posted a quick tip about enabling this by turning on C# 7.1 features in Visual Studio (they are not enabled by default).

https://blogs.msdn.microsoft.com/benwilli/2017/12/08/async-main-is-available-but-hidden/

Avatar
Pam Lahoud

Follow Pam   

0 comments

    Leave a comment