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.
1 comment posted.
#1
BlackRabbitCoder
337 days, 17 hours, 32 minutes ago said:
new post!