Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Library to help reading and writing CSV files
C#

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs
lib/Moq
src
.gitignore
LICENSE.txt
README.markdown

README.markdown

CsvHelper is a library for reading and writing CSV files. CsvHelper follows the CSV format specified here: http://www.creativyst.com/Doc/Articles/CSV/CSV01.htm

Reading:

using( var csvReader = new CsvReader( stream ) )
{
    var myCustomTypeList = csvReader.GetRecords<MyCustomType>();
}

Writing:

using( var csvWriter = new CsvWriter( stream ) )
{
    csvWriter.WriteRecords( myCustomTypeList );
}
Something went wrong with that request. Please try again.