What are Delegates?

In this lesson, you'll come to know about delegates with the help of the illustrated example.

We'll cover the following...

A delegate is a way of telling C# which method to call when an event is triggered.

For example, if you click a Button on a form, the program would call a specific method. It is this pointer that is a delegate.

Delegates form the basis of event handling in C#.

They are a construct for abstracting and creating objects that reference ...