Writes a specified string followed by a line terminator to the text stream.
- value
- The string to write. If value is null , only the line terminator is written.
Type Reason System.IO.IOException An I/O error occurred.
This version of TextWriter.Write(char) is equivalent to TextWriter.Write(char)( value.ToByteArray() ).
The line terminator string is defined by the TextWriter.NewLine property.
Note: This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with TextWriter.NewLine.Operation
As described above.
Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0