WriteLine Method (Char[])

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Writes an array of characters followed by a line terminator to the text string or stream.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

abstract WriteLine : 
        buffer:char[] -> unit 
override WriteLine : 
        buffer:char[] -> unit 

Parameters

buffer
Type: array<System..::..Char>[]()[][]
The character array from which data is read.

All the characters in buffer are written to the underlying stream. If the character array is nullNothingnullptrunita null reference (Nothing in Visual Basic), only the line terminator is written.

This overload is equivalent to Write(array<Char>[]()[][]) followed by WriteLine()()()() .

The line terminator is defined by the CoreNewLine field.

Show: