Delegates and multicast delegates

In C#, delegates represent methods that are callable without knowledge of the target object. Delegates enable scenarios that some other languages have addressed with function pointers. However, unlike function pointers, delegates are object-oriented and type-safe.   There are three steps in defining and using delegates: declaration, instantiation, and invocation. Simple Delegate public delegate double Delegate_Prod(int…

Continue reading