StreamWriter.Write Method (Char, Int32, Int32)
December 03, 2013
Writes a subarray of characters to the stream.
Assembly: mscorlib (in mscorlib.dll)
buffer is null.
The buffer length minus index is less than count.
index or count is negative.
An I/O error occurs.
This method overrides TextWriter.Write.
The characters are read from buffer beginning at index and continuing through index + (count - 1). All characters are written to the underlying stream unless the end of the underlying stream is reached prematurely. Flush is invoked automatically if AutoFlush is true.