The newline string to use. Default is \r\n (CRLF).
When writing, this value is always used.
When reading, this value is only used if explicitly set.
If not set, the parser uses one of \r\n, \r, or \n.
- Namespace
- CsvHelper
.Configuration - Containing Type
- CsvConfiguration
- Implements
- Property Type
- string
Syntax
public virtual string NewLine { get; set; }
Value
Type | Description |
---|---|
string |