What is Delegates?

 Posted by Raja on 4/21/2008 | Category: C# Interview questions | Views: 15692
Answer:

A delegate in C# allows you to pass method of one class to objects of other class that can call these methods.

OR

A delegate is an object that holds the reference to a method.

In C++ it is called function pointer.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response