Created
May 27, 2018 16:01
-
-
Save NikolaZivkovicPackt/be8683a2d9dd3837e4b4a3372741caaa 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
public async Task InitiateWaitTask() | |
{ | |
var delayTask = WaitAsync(); | |
delayTask.Wait(); | |
} | |
private static async Task WaitAsync() | |
{ | |
await Task.Delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment