title: C# How to get specific item from nested array
body: <p>I have the following model:</p>
  
  <pre><code>public class Car
  {
     public string Id {get; set;}
     public IList&lt;Driver&gt; Drivers {get; set;}
  }
  
  public Driver 
  {
     public string Id {get; set;}
     public bool IsActive {get; set;}
  }
  </code></pre>
  
  <p>How can I select driver that is active?</p>
  
  <pre><code>var carId = "...";
  var activeDriver = await _carCollection.Find(a =&gt; a.Id == carId
              &amp;&amp; a.Drivers.Any(e=&gt;e.IsActive))
              .Project(a=&gt;a.Drivers)
              .SingleOrDefaultAsync();
  </code></pre>
  
  <p>This code returns <code>IList&lt;Driver&gt;</code>, so all items. But I want to retrieve only one <code>Driver</code> that is active.</p>