|
|
|
|
|
by to11mtm
1658 days ago
|
|
Another example of Anonymous types would be a simple .Select(x=> new {x.ID, x.Name}); Sometimes people lump these in with dynamic objects but those are a very different class of thing indeed. Now, what would be -really- nice is if we had a way to specify that an anonymous type implements an interface. That could potentially simplify a -lot- of DTO modeling. |
|