Task.Delay().Wait()与 Task.Delay()

 Task.Delay().Wait();

 

Task.Delay(): 

效果同上:

异步变同步效果:

原文地址:https://www.cnblogs.com/macT/p/13572115.html