What does a Predicate delegate return?
Correct answer D. bool
Explanation
Predicate represents a method that takes a T and returns a bool, used to test whether an item meets a condition. List methods such as Find, FindAll, Exists and RemoveAll accept a Predicate, as in list.RemoveAll(x => x < 0). It is equivalent in shape to Func, which is what LINQ operators use instead.
Answer checked How we write and check questions
Discussion