Uses of delegates

What is a delegate in C# and when are they commonly used in Windows Forms programming?

Questions by musclebai   answers by musclebai

Showing Answers 1 - 9 of 9 Answers

hdkhanna

  • May 18th, 2010
 

Delegates are an efficient way of calling methods dynamically in C#. As long as the signature of the method called is the same as the delegate type defined it can be called. This is one way a method can be used as a parameter.

Like mentioned by others a common example of using delegates in C# is event handling.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions