Task.WaitAll() not working as expected

前端 未结 3 2145
暗喜
暗喜 2021-01-05 19:37

I\'m trying to figure out how to work with the Task class. In the past I have always used the regular Thread class, but I\'m trying to grasp all of the asynchronous programm

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-05 20:17

    Because it waits as your threads finish. They run exactly 3 seconds 300X10

提交回复
热议问题