Home / C# / Delegates and Events in C#

Delegates and Events in C#

Delegates in C#

Another very interesting feature in C# is delegates. Delegates are best complemented as new type of Object in C#. They are also represented as pointer to functions. Technically Delegates are …

Read More »

Event Handlers in C#

An event handler in C# is a delegate with a special signature, given below:   public delegate void MyEventHandler(object sender, MyEventArgs e);   In the above declaration, the first parameter …

Read More »