What is the cost of async/await? - Bnaya Eshet

added by bnaya
12/15/2011 2:25:15 PM

0 Kicks, 53 Views

What is the cost of async/await?What is the cost of async/await? .NET 4.5 (C# 5) had brought the new async/await syntax. I will cover async/await syntax in more details in future post, but in the meanwhile in case that you are not yet familiar with that syntax, what's you should have to know is that the syntactic compiler transform that syntax (and the lines that follow the await keyword) into IL, the generated IL is following the concept of the TPL ContinueWith. the syntactic compiler is actually ge...