Export (0) Print
Expand All

Console.WriteLine Method (Char[])

.NET Framework 1.1

Writes the specified array of Unicode characters, followed by the current line terminator, to the standard output stream.

[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 __gc[]
);
[JScript]
public static function WriteLine(
   buffer : Char[]
);

Parameters

buffer
A Unicode character array.

Exceptions

Exception Type Condition
IOException An I/O error occurred.

Remarks

For more information about the line terminator, see the Remarks section of the WriteLine method that takes no parameters.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard

See Also

Console Class | Console Members | System Namespace | Console.WriteLine Overload List | Read | ReadLine | Write

Show:
© 2015 Microsoft