SyntaxFix
Write A Post
Hire A Developer
Questions
You could create many tasks like:
List<Task> TaskList = new List<Task>(); foreach(...) { var LastTask = new Task(SomeFunction); LastTask.Start(); TaskList.Add(LastTask); } Task.WaitAll(TaskList.ToArray());