Intermediate C#
Q81 / 100

What is the Action<> and Func<> delegate shorthand for?

Correct! Well done.

Incorrect.

The correct answer is A) Built-in delegates replacing custom delegate declarations for common patterns

A

Correct Answer

Built-in delegates replacing custom delegate declarations for common patterns

Explanation

Action<int, string> replaces delegate void MyDel(int a, string b). Func<int, string, bool> replaces delegate bool MyFunc(int a, string b). Reduces delegate boilerplate.

Progress
81/100