System.IO.BinaryWriter.Write Method

Writes a section of a character array to the current stream, and advances the current position of the stream in accordance with the Encoding used and perhaps the specific characters being written to the stream.

Syntax

public virtual void Write (char[] chars, int index, int count)

Parameters

chars
A character array containing the data to write.
index
The starting point in chars from which to begin writing.
count
The number of characters to write.

Remarks

For a list of common I/O tasks, see Common I/O Tasks.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0