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!

Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?