Writes a sub array of characters to Console.Out that is set to the system's standard output stream by default.
[Visual Basic] Overloads Public Shared Sub Write( _ ByVal buffer() As Char, _ ByVal index As Integer, _ ByVal count As Integer _ ) [C#] public static void Write( char[] buffer, int index, int count ); [C++] public: static void Write( __wchar_t* buffer[], int index, int count ); [JScript] public static function Write( buffer : Char[], index : int, count : int );
Exception Type | Condition |
---|---|
ArgumentException | The buffer parameter is a null reference (in Visual Basic Nothing).
index or index + count is not a valid index of buffer.count is less than 0. |
IOException | An I/O error occurs. |
This method will write count characters of data into this writer from the buffer character array starting at position index.
Console Class | Console Members | System Namespace | Console.Write Overload List