Click or drag to resize
EnvironmentNewLine Property
Gets the newline string defined for this environment.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static string NewLine { get; }

Return Value

Type: String
A string containing "\r\n" for non-Unix platforms, or a string containing "\n" for Unix platforms.
See Also