Error!
Success!

C#/.NET Little Wonders: The EventHandler and EventHandler<TEventArgs>

0
kicks

C#/.NET Little Wonders: The EventHandler and EventHandler&lt;TEventArgs&gt;  (Unpublished)

Once again, in this series of posts I look at the parts of the .NET Framework that may seem trivial, but can help improve your code by making it easier to write and maintain. In the last two weeks, we examined the Action family of delegates (and delegates in general), and the Func family of delegates and how they can be used to support generic, reusable algorithms and classes. So this week, we are going to look at a handy pair of delegates that can be used to eliminate the need for defining custom delegates when creating events: the EventHandler and EventHandler&lt;TEventArgs&gt; delegates.


Kicked By:
Drop Kicked By: