title: How do I select everything in a list after the first occurence of?
body: <p>I have a collection where each element has a property called IsTop. What I want to do is use linq (if possible) to select everything after the first occurence of IsTop == true. Right now, I do this like this:</p>
  
  <pre><code>bool[] foundTop = {false}; // use array for modified closure
  foreach (var config in fullHierarchy
      .Where(config =&gt; config.IsTop || foundTop[0]))
  {
      foundTop[0] = true;
      configurationHierarchy.Add(config);
  }
  </code></pre>
  
  <p>I feel like this is a bit contrived. Is there a simpler way to achieve this in LINQ?</p>