Skip to content

Instantly share code, notes, and snippets.

@mantzas
Created May 26, 2016 19:49
Show Gist options
  • Save mantzas/f5a1805a21b2c0a0924952aa374f6b5c to your computer and use it in GitHub Desktop.
Save mantzas/f5a1805a21b2c0a0924952aa374f6b5c to your computer and use it in GitHub Desktop.
public async Task AwaitAsync()
{
await Task.Run(() => Console.WriteLine(""));
}
public Task AwaitNormal()
{
return Task.Run(() => Console.WriteLine(""));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment