Take advantage of closures in C# — including anonymous methods, delegates, and lambda expressions — to make your code robust, efficient, readable, and easier to maintain. Closures are often associated ...
Take advantage of anonymous types in C# to create and instantiate types that have read-only properties without having to declare the type beforehand An anonymous type is a type that doesn’t have a ...
I try to keep up to date with the latest changes to the programming tools I use on a regular basis. This means that I have a tendency to use less generally well-known language features. I use them, ...
Anonymous types are a new feature of Visual Basic 9 (2008). They provide a quick and easy way to define simple classes for holding values. Both VB 9 and C# 3.0 provide support for anonymous types, but ...