/csv

Really simple csv library

Primary LanguageC#MIT LicenseMIT

csv

Really simple csv library

Install

To install csv, use the following command in the Package Manager Console

PM> Install-Package Csv

Usage

var csv = File.ReadAllText("sample.csv");
foreach (var line in CsvReader.ReadFromText(csv))
{
    // Header is handled, each line will contain the actual row data
    var firstCell = line[0];
    var byName = line["Column name"];
}

More examples can be found in the tests.

Build status

Build status FOSSA Status codecov

License

FOSSA Status