Created
May 26, 2016 19:45
-
-
Save mantzas/3162e68af35c6cb446a68bb9f12dea14 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
public async Task SleepTaskDelay() | |
{ | |
Thread.Sleep(1000); | |
//vs | |
await Task.Delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment