Task.Run c#启动线程

var task = Task.Run(() =>
{

});
task.GetAwaiter().OnCompleted(() =>
{

});

原文地址:https://www.cnblogs.com/simadi/p/12283400.html