News

Take advantage of delegates to promote flexibility and code reuse in your .NET applications and to implement event-driven programming with ease. A delegate is a type that references a method that ...
Delegates are type safe function pointers *with an optional this pointer* thus no need to pass one round yourself. Obviously their utility is much enhanced in contract to C++ by virtue of being ...
we often must pass a method as a parameter to another method when working with event handling in C#. We do this using delegates. I provided an overview of delegates in an earlier article here.
In these next two proposals, we see new ways to reference and invoke functions. A normal delegate in C# is a somewhat complex data structure. It contains a function pointer, an optional object ...