Browse by Tags

All Tags » CSV LINQ
Sorry, but there are no more tags available to filter with.
  • LINQ to CSV using DynamicObject

    When we wrote LINQ in Action we included a sample of how to simply query against a CSV file using the following LINQ query: From line In File.ReadAllLines(“books.csv”) Where Not Line.StartsWith(“#”) Let parts = line.Split(“,”c) Select Isbn = parts(0), Title = parts(1), Publisher = parts(3) While this code does make dealing with CSV ...
    Posted to Wooley's LINQ Wonderings (Weblog) by jwooley on November 22, 2009