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?

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?

A.
Action<int>

B.
Action<int,int>

C.
Func<int, int>

D.
Func<int>



Leave a Reply 0

Your email address will not be published. Required fields are marked *