WriteLine Method (Boolean)

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

Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.

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

public virtual void WriteLine(
	bool value
)

Parameters

value
Type: System..::..Boolean
The Boolean value to write.

The text representation of the specified value is produced by calling the Boolean..::..ToString method.

This method outputs either Boolean..::..TrueString or Boolean..::..FalseString.

The line terminator is defined by the CoreNewLine field.

Show: