By tag: AnonymousTypes
Ban this user: Options
Please provide a reason for deleting this story
One of the most convenient features of C# 3.0 is the ability to create new types 'on the fly' using Anonymous Types. Here's a detailed post that describes how these generated types work, behave and where their use can be very useful.
Anonymous types are a convenient language feature of C# and VB that enable developers to concisely define inline CLR types within code, without having to explicitly define a formal class declaration of the type. Anonymous types are particularly useful when querying and transforming/projecting/shapin...