Click here to Skip to main content
15,922,584 members

Comments by Daniel Wosch (Top 1 by date)

Daniel Wosch 28-Jan-19 2:54am View    
Sure.
As async method is used u need to use the await keyword as posted in the second code example working with the foreach loop.
Your code using Thread.Sleep is bad style to achive this.