I see a collection has a .Remove() and a .RemoveAt() method. I would like to do something like this:
myObject.ChildList.RemoveWhere(r=>r.Name == "Joe");
What is the best way to achieve this besides doing a seperate where and then a loop through each item and them calling .Remove()
List<T>has aRemoveAllmethod that accepts a predicate.