I have a pretty simple problem, but I can not find the answer anywhere.
Given that I have several arrays of tasks of different types, for example.
Task<Dog>[] dogTasks = GetDogTasks();
Task<Cat>[] catTasks = GetCatTasks();
Task<Fish>[] fishTasks = GetFishTasks();
What would be the best way WaitAll()for these tasks?
source
share