What do you mean by Delegates and explain different types of Delegates?
A Delegate in C# is a variable, which holds a reference to a specific method. This also makes a delegate a function pointer of a reference type. All the Delegates are derived from the System. Delegate namespace.
Delegates are of three types -
- Single Delegate
- Multicast Delegate
- Generic Delegate