Writes a character array 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 _ ) [C#] public static void Write( char[] buffer ); [C++] public: static void Write( __wchar_t* buffer[] ); [JScript] public static function Write( buffer : Char[] );
Exception Type | Condition |
---|---|
IOException | An I/O error occured. |
ArgumentException | The buffer parameter is a null reference (in Visual Basic Nothing). |
This method calls Write(Char) for each of the characters in the character array. If the character array is null, nothing is written.
Console Class | Console Members | System Namespace | Console.Write Overload List