Click or drag to resize
ConsoleWriteLine Method (Char, Int32, Int32)
Writes the specified subarray of Unicode characters, followed by the current line terminator, to the standard output stream.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public static void WriteLine(
	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
ExceptionCondition
ArgumentNullExceptionbuffer is null.
ArgumentOutOfRangeExceptionindex or count is less than zero.
ArgumentExceptionindex plus count specify a position that is not within buffer.
IOExceptionAn I/O error occurred.
See Also