Anonymous methods and collections in Whidbey

Pretty sweet. Build a new list containing all the elements in another list that meet certain criteria… with a single method call and an anonymous delegate. Passing an anonymous delegate as a comparer to Sort. Building a list that contains some other list’s elements run through some conversion (like Perl’s map function). Nice stuff. Pity about the stylesheet, though…

Thanks to Eric Gunnerson for posting the link.

Leave a Reply

Your email address will not be published. Required fields are marked *