What?

KBCsv is an efficient, easy to use .NET parsing and writing library for the CSV (comma-separated values) format.

Why?

CSV is a common data format that developers need to work with, and .NET does not include intrinsic support for it. Implementing an efficient, standards-compliant CSV parser is not a trivial task, so using KBCsv avoids the need for developers to do so.

Where?

Documentation, binaries, and source for KBCsv can be downloaded from the releases section.

How?

using (var reader = new CsvReader("data.csv"))
{
    reader.ReadHeaderRecord();

    foreach (var record in reader.DataRecords)
    {
        var name = record["Name"];
        var age = record["Age"];
    }
}
Please download the documentation and source for more examples in both C# and VB.NET.

Who?

KBCsv is currently developed solely by Kent Boogaart.

I wrote KBCsv a number of years ago when I was working with massive (> 4GB) CSV data files. Existing CSV libraries were either not fast enough, clumsy to use, or both.

Primary Features

  • Very fast
  • Very easy to use
  • Conforms to de facto CSV standards as found here and here
  • Supports retrieving data by column index, or name (where a header record exists)
  • Value separator and delimiter characters can be customized
  • Very high test coverage
  • Runs on mono
Last edited Nov 22 2009 at 1:37 PM by kentcb, version 10

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Updating...
© 2006-2010 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2010.1.12.16187