Wednesday, August 25, 2004 2:32 PM
pgolde
Change to Algorithms.RemoveWhenTrue return value
By email, I got a suggestion that it would be useful for Algorithms.RemoveWhenTrue to return the removed items. This seemed like a good idea, so I've changed the signature to:
ICollection<ItemType> RemoveWhenTrue(ICollection<ItemType> collection, Predicate<ItemType> predicate);