TextWriter.WriteLine Method (String)
Writes a string followed by a line terminator to the text string or stream.
Assemblies: mscorlib (in mscorlib.dll)
System.IO (in System.IO.dll)
This overload is equivalent to the Write(Char) overload.
The line terminator is defined by the CoreNewLine field.
This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with NewLine.
For a list of common I/O tasks, see Common I/O Tasks.