Examveda

In C#, what is the purpose of the Action delegate?

A. Represents a delegate that encapsulates a method that takes no parameters and does not return a value

B. Represents a delegate that encapsulates a method that takes no parameters and returns a value

C. Represents a delegate that encapsulates a method that has two parameters and returns a value

D. Represents a delegate that can encapsulate a method with a single parameter and does not return a value

Answer: Option D


Join The Discussion

Related Questions on Delegates and Events in C Sharp