A staple of any good management class is pounding into young
executives’ heads that they should delegate when possible. These gurus of
commerce do not say to always delegate because it’s obvious that expert
knowledge should sometimes directly handle a task or project. But the premise
is solid. And the premise applies to our world of software.
The .NET Framework provides us with a staid and true
mechanism for creating delegates and wiring up events. It’s a powerful
platform provided for free to us, so taking advantage of it is something a
developer should aspire to do without much hesitation. Events are
brothers-in-arms with delegates. They work together so smoothly that you might
not even realize that events in the Framework and Windows Forms applications are
actually using delegates behind the scenes.