Naming Anonymous Types with Generate from Usage
Posted by: Did it with .NET,
on 24 Oct 2009 |
View original | Bookmarked: 0 time(s)
Now that Visual Studio
2010 Beta 2 is finally out the door, Ive had a bit more time to spend coding
on some of my personal projects. Yesterday, I happened upon a cool trick while using
the new Generate
from Usage feature. It was so helpful to me that I thought others might benefit,
so Im sharing it here.
The Anonymous Type Problem
When you need to project some data from a LINQ expression, anonymous
types can be enormously convenient.
...