Back to Basics: Delegates, Anonymous Methods and Lambda Expressions
Posted by: Karl Seguin [MVP],
on 27 Nov 2008 |
View original | Bookmarked: 0 time(s)
code{color:#833;background:#fcfcfc;} h4{margin:30px 0px 0px 0px;font-color:#fff;font-weight:bold;border-bottom:1px dashed #ccc;font-variant: small-caps}
Introduction
Like generics, delegates are one of those features that developers use without really understanding. Initially this wasn't really a problem since delegates were reserved for fairly specific purposes: implementing callbacks and as the building-block for events (amongst a few other edge cases). However, each version of .NET has...