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. ...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: Refactor | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1073 | Hits: 53

Similar Posts

  • Using Microsoft's Chart Controls In An ASP.NET Application: Rendering the Chart more
  • WSDL Imports without WSDL.exe more
  • Walkthrough: TDD Support with the Generate From Usage Feature in VS 2010 (Lisa Feigenbaum) more
  • Key Properties In VB.NET more
  • Twelve Days of Refactor! X-mas, Day Three: Name Anonymous Type more
  • What data type should I use? more
  • SubSonic - Code Camp slides posted more
  • Integrating WCF Clients with ASMX Services more
  • Creating a 3 tier application using LINQ more
  • Taking a look at Nikhil's Script# more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD