Write 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 to the text string or stream.

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

public virtual void Write(
	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.

Show: