How does Asynchronous tasks (Async/Await) work in .Net 4.5?
Some sample code:
private async Task TestFunction() { var x = await DoesSom
await pauses the method until the operation completes. So the second await would get executed after the first await returns.
await
For more information, see my async / await intro or the official FAQ.