Property NewLine
NewLine
Gets or sets the line ending. "\n" by default and never the platform's, because output must be byte-identical across operating systems.
public string NewLine { get; set; }
Property Value
Exceptions
- ArgumentException
The value is not "\n" or "\r\n".