Remove specific objects from a list

Posted by iTayb on Stack Overflow See other posts from Stack Overflow or by iTayb
Published on 2010-03-22T15:29:47Z Indexed on 2010/03/22 15:31 UTC
Read the original article Hit count: 179

Filed under:

I have a class that has an list<Book> in it, and those Book objects has many many properties. How can I remove from that list every Book that his level value is different than, for example, 5?

© Stack Overflow or respective owner

Related posts about c#