How does Asynchronous tasks (Async/Await) work in .Net 4.5?
Some sample code:
private Asyncasync Task<bool> TestFunction()
{
var x = await DoesSomethingExists();
var y = await DoesSomethingElseExists();
return y;
}
Does the second await
statement get executed right away or after the first await
returns?