blogs.conchango.com

welcome to the conchango blogging site
Welcome to blogs.conchango.com Sign in | Join | Help
in Search

Browse by Tags

All Tags » LINQ » C# 2.0
  • Using linq in your C# code

    Just came across a nasty gotcha today, where by we were trying to use the new C# 3.5 syntax var x = from item in items select new Item { ItemName = item.Name }; and getting a compile error. Turns out this was due to the need to have the following using statement (that doesn't come up in a smart tag prompt when you're writing linq), using ...
    Posted to Merrick Chaffer's Blog (Weblog) by merrick.chaffer on May 8, 2008
Powered by Community Server (Personal Edition), by Telligent Systems