3
Shouts

C#/.NET Little Wonders: The Joy of Anonymous Types

published 330 days, 14 hours, 49 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 337 days, 17 hours, 32 minutes ago
Friday, June 29, 2012 3:52:43 PM GMT Friday, June 22, 2012 1:09:32 PM GMT

In the .NET 3 Framework, Microsoft introduced the concept of anonymous types, which provide a way to create a quick, compiler-generated types at the point of instantiation.

These may seem trivial, but are very handy for concisely creating lightweight, strongly-typed objects containing only read-only properties that can be used within a given scope.

category: Web Dev | clicked: 26 | | source: geekswithblogs.net | show counter code
tags:

1 comment posted.

To post your comment please login or signup