Created
September 22, 2016 21:11
-
-
Save Vannevelj/13455d37685b65ac2f1bfdf9d5be70cd to your computer and use it in GitHub Desktop.
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
async Task Main() | |
{ | |
var t = Do(); | |
Console.WriteLine("Main"); | |
await t; | |
Console.WriteLine("done"); | |
} | |
async Task Do() | |
{ | |
await Task.Delay(3000); | |
Console.WriteLine("Do"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment