In the C# delegate type Func, what is bool?
Correct answer B. The return type
Explanation
For the generic Func delegates, the last type argument is always the return type and the earlier ones are parameter types. So Func represents a method taking an int and a string and returning a bool. Action delegates return void, so all of their type arguments are parameters, and Predicate takes one T and returns bool.
Answer checked How we write and check questions
Discussion