Are there any CSV readers/writer libraries in C#? [closed]

Try CsvHelper. It’s as easy to use as FastCsvReader and does writing also. I’ve been very happy with FastCsvReader in the past, but I needed something that does writing also, and wasn’t happy with FileHelpers.

Reading:

var csv = new CsvReader( stream );
var myCustomTypeList = csv.GetRecords<MyCustomType>();

Writing:

var csv = new CsvWriter( stream );
csv.WriteRecords( myCustomTypeList );

Full Disclosure: I am the author of this library.

Leave a Comment