Intermediate C#
Q43 / 100

What is the difference between Func<T, TResult> and Action<T>?

Correct! Well done.

Incorrect.

The correct answer is B) Func represents a method that returns a value; Action represents a method that returns void

B

Correct Answer

Func represents a method that returns a value; Action represents a method that returns void

Explanation

Func<int, string> takes an int and returns a string. Action<int> takes an int and returns void.

Progress
43/100