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

added by DotNetKicks
1/24/2017 1:09:40 AM

5 Kicks, 465 Views

This post will focus on the key difference between Task.Run and Task.Factory.StartNew. For you can drill down into more details on this excellent post by Stephen Toub. In general you have to know that Task.Run is more restricted version of Task.Factory.StartNew. Task.Run sets default which fit for most common cases.