摘要: 在异步方法中不要用Thread.Sleep。因为会阻塞当前线程,也就是主线程。而要用 await Task.Delay() 阅读全文
posted @ 2022-10-28 11:35 C#实习生 阅读(161) 评论(0) 推荐(0)