Browse by Tags

All Tags » OpenXML » LINQ and LINQ to XML
  • New Version of Functional Programming Tutorial

    Some time ago, I was talking to some members of a team that used LINQ and LINQ to XML in one particular area of their code.  They said that the code written using a conventional approach to XML was in the order of 6000 lines of code.  When re-written using LINQ and LINQ to XML, it was around 800 lines of code.  It was faster to ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on April 23, 2008
  • The GroupAdjacent Extension Method

    This is a bit of a geeky post for the LINQ and LINQ to XML folks.  This post introduces a GroupAdjacent generic extension method that groups elements in a collection with adjacent elements based on a common key.  For example, grouping the following array creates six groups (not 3, as with GroupBy):  int[] ia = new int[] { 1, 0, 0, ...
    Posted to LINQ in Action roller (Weblog) by Anonymous on April 20, 2008