title: How can I use Async with ForEach?
body: <p>Is it possible to use Async when using ForEach? Below is the code I am trying:</p>
  
  <pre><code>using (DataContext db = new DataLayer.DataContext())
  {
      db.Groups.ToList().ForEach(i =&gt; async {
          await GetAdminsFromGroup(i.Gid);
      });
  }
  </code></pre>
  
  <p>I am getting the error:</p>
  
  <blockquote>
    <p>The name 'Async' does not exist in the current context</p>
  </blockquote>
  
  <p>The method the using statement is enclosed in is set to async.</p>