Skip to content

Instantly share code, notes, and snippets.

@Vannevelj
Created September 22, 2016 21:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Vannevelj/13455d37685b65ac2f1bfdf9d5be70cd to your computer and use it in GitHub Desktop.
Save Vannevelj/13455d37685b65ac2f1bfdf9d5be70cd to your computer and use it in GitHub Desktop.
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