Midnight Beach logo

Sacramento April 25, 2006

Advanced Delegates

Delegates may be the least-understood part of the CLR. Delegates look a bit like method pointers, but the differences go well beyond delegates' multi-cast abilities. I will start with a quick survey of delegate basics, including invocation list editing and event syntax (which few people seem to really understand). I will then explore 2.0's anonymous methods before concluding with a lengthy discussion of asynchronous delegate execution and the system ThreadPool. Along the way, I'll touch on minor topics like covariance and contravariance as well as creating a delegate instead of repeatedly invoking a dynamically loaded method.

Sacramento .Net User Group
UC Davis Extension
2901 K Street
Sacramento, CA 95816

Free, 6PM - 8:30 PM

Created on March 13, 2006, last updated April 19, 2006 • Contact jon@midnightbeach.com