CSV File Parser
C# classes for reading and writing CSV files. Support for multi-line fields, custom delimiter and quote characters, options for how empty lines are handled.

C# source code for reading and writing CSV files. Function is divided into two classes: CsvFileReader and CsvFileWriter. Download includes a WinForms application that can read a CSV file, display and edit it in a DataGridView control, and save the content back to a CSV file.

Features
- Designed to behave much in the way Excel handles CSV files.
- Support for multi-line fields.
- Ability to customize how empty lines are handled.
- Ability to customize delimiter and quote characters.

Additional information on this project may be found in the article Reading and Writing CSV Files in C#.

Last edited Oct 8, 2012 at 8:54 PM by scwebgroup, version 4