Table of Contents

Enum CsvNewline

Namespace
FlameCsv
Assembly
FlameCsv.Core.dll

Enumeration that determines how newlines are handled in CSV files.

public enum CsvNewline : byte

Fields

CRLF = 0

Read and write \r\n as the newline character.

A lone \n or \r will be treated as a newline character when reading for compatibility.

LF = 1

Read and write only \n as the newline character.

Platform = 2

Use either CRLF or LF depending on NewLine.
This will be \r\n on Windows and \n on Unix-like systems.

Platform detected \r\n has the same semantics as CRLF.