NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Console.WriteLine (Char[])

Writes an array of characters followed by a line terminator to Console.Out that is set to the system's standard output stream by default.

[Visual Basic]
Overloads Public Shared Sub WriteLine( _
   ByVal buffer() As Char _
)
[C#]
public static void WriteLine(
   char[] buffer
);
[C++]
public: static void WriteLine(
   __wchar_t* buffer[]
);
[JScript]
public static function WriteLine(
   buffer : Char[]
);

Parameters

buffer
The character array from which data is read.

Exceptions

Exception Type Condition
IOException An I/O error occured.
ArgumentException The buffer parameter is a null reference (in Visual Basic Nothing).

Remarks

All the characters in buffer are written to the underlying stream unless the end of the underlying stream is reached. The default line terminator is a carriage return followed by a line feed ("\r\n"). The line terminator can be modified via the NewLine property of Console.Out.

See Also

Console Class | Console Members | System Namespace | Console.WriteLine Overload List