摘要: 简单来说,使用这个类可以让主线程等待子线程都完成任务之后才执行任务 1 static void Main(string[] args) 2 { 3 ///子任务的数量 4 CountdownEvent countdownEvent = new CountdownEvent(3); 5 for(int 阅读全文
posted @ 2020-07-02 11:25 白烟染黑墨 阅读(255) 评论(0) 推荐(0) 编辑