title: How can I Wait for Arrays of Tasks of different Types?
body: <p>I have a pretty simple looking problem, but I can't seem to find the answer anywhere.</p>
  
  <p>Given I have several arrays of tasks of different types e.g.</p>
  
  <pre><code>Task&lt;Dog&gt;[] dogTasks = GetDogTasks();
  Task&lt;Cat&gt;[] catTasks = GetCatTasks();
  Task&lt;Fish&gt;[] fishTasks = GetFishTasks();
  </code></pre>
  
  <p>What would be the best way to <code>WaitAll()</code> for these tasks?</p>