TextWriter.Write Method (String)
Writes a string 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.
This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with TextWriter.NewLine.
If value is null, nothing is written to the text stream.
For a list of common I/O tasks, see Common I/O Tasks.