title: How to remove item from an anonymous list
body: <p>Work on EF 4 C#.I have one anonymous list .Want to remove item from anonymous list</p>
  
  <pre><code>    Anonymous list :
  
      var temp=from p in contex.students select p;//it’s a complex query,for now just use simple select
  
      foreach(var item in temp)
      {
       if(item.StudentID)//if satisfy some condition then want to remove this student information from      anonymous list
      {
           temp=temp.where(p=&gt;studentID!=item.studentID);
      }
      }
  </code></pre>
  
  <p>Above syntax is not working for me.I just want to remove item base on several condition .Need help how to remove item from anonymous list.</p>
  
  <p>If have any query plz ask.thanks in advanced.</p>