How to await only last thread declared in a loop in C#?

前端 未结 0 1935
予麋鹿
予麋鹿 2020-12-14 03:06

I have a foreach loop that goes through objects in a list, and calls a method:

foreach(var obj in objList)
    {
         Task task = Task.Factor         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题