CsvParser is a .NET library that makes it easy to work with comma-separated-values (CSV) files (and files with other delimiters). It includes basic classes to read and write CSV columns, and also higher level classes that can automatically map CSV columns to your class properties. The library correctly handles column values that contain embedded commas, quotes or other special characters. It even supports column values that span multiple lines. CsvParser is very efficient and is designed to handle large data files without loading everything into memory.
In addition, the library's behavior can be customized. For example, you can change the column delimiter to another character (like the tab character, for example), change the quote character, customize how blank lines are handled, etc.
See the version list below for details.
Install-Package SoftCircuits.CsvParser -Version 2.0.8
dotnet add package SoftCircuits.CsvParser --version 2.0.8
<PackageReference Include="SoftCircuits.CsvParser" Version="2.0.8" />
paket add SoftCircuits.CsvParser --version 2.0.8
Reworked the logic that assigns indexes to columns after problems were detected (changes may break existing code in very uncommon scenarios); expanded unit tests to test changes; modified documentation
- No dependencies.
This package is not used by any popular GitHub repositories.