Advanced

Alarming Delegates (Advanced)

So here goes a post about c# delegates, which is considered to be one of the hardest concept in C#. So I've decided to show you a simple example which I guess will clear the concept of delegates for you. Delegates are like function pointers in C++ and and broadly used as a callback function. Functions can be encapsulated using delegates. As you already know that C# is an event based programming language, you will be happy to know that behind the scene all events are basically delegates. So sooner…

Keep reading