Created
January 26, 2018 14:17
-
-
Save dariuszparys/cfa97abe0b88640bbebec99de954291e to your computer and use it in GitHub Desktop.
C# 7.1 Using async / await with Main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
namespace demo | |
{ | |
class Program | |
{ | |
static async Task Main(string[] args) | |
{ | |
await Task.Delay(1000); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment