Friday, May 25, 2012

Predicate Delegates

Predicate<T> is a delegate that takes in T and then returns true of false. A predicate could, for example, consume a string and then return whether or not the copy came after the word "Cat" alphabetically. This bit of knowledge comes from Chapter 7 of "C# 4.0 in a Nutshell" which is a good read.

No comments:

Post a Comment