WriteLine Method (String)

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

Writes a string followed by a line terminator to the text string or stream.

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

abstract WriteLine : 
        value:string -> unit 
override WriteLine : 
        value:string -> unit 


Type: System..::..String
The string to write. If value is nullNothingnullptrunita null reference (Nothing in Visual Basic), only the line terminator is written.

This overload is equivalent to the Write(array<Char>[]()[][]) overload.

The line terminator is defined by the CoreNewLine field.

This method does not search the specified string for individual newline characters (hexadecimal 0x000a) and replace them with NewLine.