Thursday, September 11, 2008

Events versus delegates in C#

Finally somebody clearly defined the difference between C# events and multicast delegates.

http://blog.monstuff.com/archives/000040.html

Conclusion
We have seen that the event keyword is a modifier for a delegate declaration that allows it to be included in an interface, constraints it invocation from within the class that declares it, provides it with a pair of customizable accessors (add and remove) and forces the signature of the delegate (when used within the .NET framework).

No comments: