Tag: predicates
-
C#, List.Find() and Predicates
Because I use this just infrequently enough to have to look it up every time… I’m a huge (ab)user of the .NET generic collection classes, but I hate cluttering code with foreach() loops every time that I need to find an item in a collection. Enter the Find() method, which takes a predicate and does […]