title: Combine the result of two parallel tasks in one list
body: <p>I want to combine the result of 2 tasks in one List collection. </p>
  
  <p><strong>Make sure that- I want to run both methods in parallel.</strong></p>
  
  <h2>Code:</h2>
  
  <pre><code>List&lt;Employee&gt; totalEmployees = new List&lt;Employee&gt;();
  </code></pre>
  
  <p>Method1: </p>
  
  <pre><code>public async Task&lt;IEnumerable&lt;Employee&gt;&gt; SearchEmployeeFromDb();
  </code></pre>
  
  <p>Method2: </p>
  
  <pre><code>public async Task&lt;IEnumerable&lt;Employee&gt;&gt; GetEmployeeFromService();
  </code></pre>
  
  <p>Now, I want to hold the result of these two methods in <code>totalEmployees</code> field, also these 2 method should run asynchronously. </p>