title: Remove an item from an IEnumerable<T> collection
body: <p>I have a popuplated <code>IEnumerable&lt;User&gt;</code> collection.</p>
  
  <p>I want to remove an item from it, how can I do this?</p>
  
  <pre><code>foreach(var u in users)
  {
    if(u.userId = 1123)
    {
      // remove!
    }
  }
  </code></pre>
  
  <p>I know your not suppose to remove while looping, so I don't mind either creating a new collection or removing it after.</p>
  
  <p>But I don't know how to remove an item, kind of lost for some reason on this!</p>
  
  <p>Alternately which I am confused on also, how can I create a new collection like:</p>
  
  <pre><code>IEnumerable&lt;User&gt; modifiedUsers = new List&lt;User&gt;();
  
  foreach(var u in users)
  {
     if(u.userId != 1233)
     {
          modifiedUsers.add ??????
     }
  }
  </code></pre>
  
  <p>How can I add to the collection?</p>