what is delegate?
May 7, 2009
A delegate can be thought of as an object that contains an ordered list of methods with the same signature and return type.
- The list of methods is called the invocation list.
- When a delegate is invoked, it calls each method in its invocation list.
Delegates are types, just as classes are types. And as with classes, a delegate type must be declared before you can create variables and objects of the type.
