DataStandardizer.File.CSV

Reading and writing of CSV files compliant with the RFC 4180 standard, with configurable handling of the common real-world variations on that format.

dotnet add package DataStandardizer.File.CSV

Standards

Standard What it provides
RFC 4180 Common Format and MIME Type for Comma-Separated Values (CSV) Files — the de facto standard for CSV: comma-delimited fields, CRLF line breaks, and double-quote escaping.

The reader and writer behave in an RFC 4180–compliant way by default, but every deviation the standard leaves room for in practice — alternative delimiters, line breaks, quoting rules, headers — can be configured.

Platform support

Targets .NET Standard 1.1, 2.0, and 2.1 for use in legacy applications and on platforms such as Mono and Unity, as well as in-support modern .NET runtimes.

Applies to: the string file-path constructors on CsvFileReader<T> / CsvFileWriter<T> require .NET Standard 2.0 or later, or a .NET Core / modern .NET target; on .NET Standard 1.1 construct the reader/writer from a Stream or a TextReader / TextWriter. The with-expression syntax shown in some examples requires the net10.0 build (CsvFileOptions is a record there and a plain class on the netstandard1.1, netstandard2.0, and netstandard2.1 targets).

How-to guides

Concepts

Tutorial

Reference


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.