PrepAway - Latest Free Exam Questions & Answers

Which type of delegate should you use?

You are developing an application.
You need to declare a delegate for a method that accepts an integer as a parameter, and then
returns an integer.
Which type of delegate should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
Action<int>

B.
Action<int, int>

C.
Func<int, int>

D.
Func<int>

Leave a Reply