Welcome to Jonathan Parker's Blog Sign in | Join | Help

Browse by Tags

All Tags » LINQ   (RSS)
This is a great tip if you're looking to do some procedural processing within a LINQ query:   public void LINQ2XML() { int index = 0; XElement e = new XElement( "Items" , from item in myItems let itemIndex = ++index select new XElement( Read More...
Despite all the wonderful things that LINQ provides there are amazingly some disadvantages of using LINQ. One of the main ones is "How do I use anonymous types generated by LINQ?" Well if you're wanting to do a LINQ query and then iterate over the results Read More...