Property LineTerminator
LineTerminator
Gets or sets the string written at the end of each CSV row. Defaults to null, which writes
the line ending of the platform the export runs on.
public string LineTerminator { get; set; }
Property Value
Remarks
Set this to write the same bytes wherever the export runs, rather than CRLF on Windows and LF elsewhere. It is written verbatim, so it is also how a file is produced for a reader that expects something other than a line break between rows.