Summary
Events and delegates in the .NET Framework present an interesting case of apparent simplicity with abundant complexity underneath. Unfortunately, we *have* to take into account the complexity underneath if we are to use events correctly in our applications. What I m suggesting here is that most developers today are *not* raising events correctly. Even most of the advanced developers out there are not doing all the necessary steps in order to make sure the events are published in a safe manner.
Defensive Event Publishing in .NET (Part I)
This article was inspired by Juval Lowy s Advanced .NET master class (Copyrights © IDesign 2005) and contains code excerpts from Programming .NET Components (1st Edition) By O'Reilly 2003.