| ConsoleWrite Method (Char, Int32, Int32) |
Writes the specified subarray of Unicode characters to the standard output stream.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntaxpublic static void Write(
char[] buffer,
int index,
int count
)
Parameters
- buffer
- Type: SystemChar
An array of Unicode characters. - index
- Type: SystemInt32
The starting position in buffer. - count
- Type: SystemInt32
The number of characters to write.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | buffer is null. |
| ArgumentOutOfRangeException | index or count is less than zero. |
| ArgumentException | index plus count specify a position that is not within buffer. |
| IOException | An I/O error occurred. |
See Also