Does anyone know if there is any difference between doing Task.Factory.StartNew
vs new Task
followed by calling Start
on the task. Looking at reflector there doesn't seem to be much difference. So perhaps the only difference is that Task.Factory.StartNew
returns a task that is already started. Is this correct?
I know that Task.Factory.StartNew
and Task.Run
have different default options and Task.Run
is the preferred option for .Net 4.5.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…