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?
I have a class that has an list<Book> in it, and those Book objects
Share
In this particular case,
List<T>.RemoveAllis probably your friend:C# 3:
C# 2: