ListUtility.RemoveWhere<T> method

Removes items from the list that match the specified predicate.

public static int RemoveWhere<T>(this IList<T> list, Func<T, bool> predicate)
parameter description
T The type.
list The list.
predicate The predicate that determines the items to remove.

Return Value

The number of items removed from the collection.

See Also