Monday, August 08, 2005
The many faces of C# delegates
Delegates in C# serve a few common purposes: asynchronous method invocation, event handling and callback functions. This article builds a nice example that shows all three of these roles in an entertaining format:
http://www.sellsbrothers.com/writing/default.aspx?content=delegates.htm
All of these patterns are very common and good documentation on them is very hard to find. Kudos to the author!
http://www.sellsbrothers.com/writing/default.aspx?content=delegates.htm
All of these patterns are very common and good documentation on them is very hard to find. Kudos to the author!