1.
Task task = new Task(() =>
{ MultiplyMethod(a, b); }); task.Start();2.
Task task = Task.Run(() =>
{ MultiplyMethod(a, b); });3.
Task task = Task.Factory.StartNew(() =>
{ MultiplyMethod(a, b); });本文共 252 字,大约阅读时间需要 1 分钟。
1.
Task task = new Task(() =>
{ MultiplyMethod(a, b); }); task.Start();2.
Task task = Task.Run(() =>
{ MultiplyMethod(a, b); });3.
Task task = Task.Factory.StartNew(() =>
{ MultiplyMethod(a, b); });转载于:https://www.cnblogs.com/Fred1987/p/5782251.html