Main is allowed to be async!

added by DotNetKicks
4/13/2018 1:51:14 PM

1 Kicks, 229 Views

With the release of C# 7.1, Main method can be async as well. This is just a syntactic sugar - compiler will rewrite the code to apply the same workarounds as before, but at leas for developers code will look much nicer: