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 reference types which allow indirect …
Read More »Delegates and Events in C#
Events In C#
A C# event is a class member that is activated whenever the event it was designed for occurs. I like to use the term “fires” when the event is activated. Anyone interested in the event …
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 (sender) in the above declaration …
Read More »