Task.Run vs. Task.Factory.StartNew (Part 2)

added by DotNetKicks
1/25/2017 10:59:17 PM

2 Kicks, 427 Views

This post continue the previous post about the differences between Task.Run vs. Task.Factory,StartNew. In the previous part I was speaking about the scheduling aspect, on this part I will spot the async await behavior. Check the following code snippet and think what can go wrong: What output will it produce?


0 comments