Interview Questions

What is Delegation?

.NET Interview Questions and Answers


(Continued from previous question...)

57. What is Delegation?

A delegate acts like a strongly type function pointer. Delegates can invoke the methods that they reference without making explicit calls to those methods.
Delegate is an entity that is entrusted with the task of representation, assign or passing on information. In code sense, it means a Delegate is entrusted with a Method to report information back to it when a certain task (which the Method expects) is accomplished outside the Method's class.

(Continued on next question...)

Other Interview Questions