async / await, some reasoning

added by bnaya
1/19/2012 8:42:58 AM

5 Kicks, 165 Views

async / await some reasoningasync / await some reasoning this post will try to make some reasoning about the .NET 4.5 / C#5 await keyword. I will begin a quiz. how long will it take to the following method to produce the 42 value?Code SnippetasyncTask


1 comments

dpeterson
1/19/2012 8:42:30 AM
Nice illustration of the internal mechanics, I'm sure some people starting off with async/await will appreciate the comparison to the TPL