Delegates In C# | Delegates Part 1 | C#.NET Tutorial | Mr. Bangar Raju


Delegates in C#.Net

Delegate : It’s a type safe function pointer.
• A delegate holds the reference of a method and then calls the method for execution
• To call a method by using a delegate we have 3 Steps:
1. Define a delegate
2. Instantiating the delegate
3. Now call the delegate by passing required parameter values values, so that internally the method which is bound with the delegate gets executed.