title: Using LINQ's SkipWhile over string properties
body: <p>I have a list of strings and I want to skip all that end with the sequence _E so out of:</p>
  
  <ul>
  <li>Apple </li>
  <li>Apple_E </li>
  <li>Orange</li>
  <li>Banana</li>
  </ul>
  
  <p>Only "Apple_E" should be omitted. This should be a simple LINQ statement, correct?</p>
  
  <pre><code>foreach (var fruit in fruits.SkipWhile(x =&gt; x.EndsWith("_E")) 
  {
         Console.WriteLine(fruit);
  }
  </code></pre>
  
  <p>Will not omit Apple_E ... am I missing something obvious here? I have also used <code>x.Trim().EndsWith("_E")</code> to make sure there wasn't dirty data for some reason. If I do this, I get the list printed as shown above.</p>