
Task.Factory.StartNew vs Task.Run in C#: The Difference
Use Task.Run. It is Task.Factory.StartNew with the two defaults almost every caller wants: TaskScheduler.Default instead of the current scheduler, and DenyChildAttach instead of allowing child tasks to attach, plus unwrapping for async d...
By Huy Vũ