2022年10月18日

C# await async异步编程简单理解

摘要: async 异步方法 await 执行异步调用的位置 await Method1(); // 同步执行,先完成Method1,在执行Method2 //Method1(); // 异步执行,Method1、Method2同时执行 Method2(); Console.ReadKey(); stati 阅读全文

posted @ 2022-10-18 17:07 xzj19870125 阅读(25) 评论(0) 推荐(0) 编辑

导航