Writes the text representation of the specified Boolean value to the standard output stream.
value The value to write.
TypeReasonSystem.IO.IOExceptionAn I/O error occurred.
The text representation of value is produced by calling bool.ToString, which outputs either bool.TrueString or bool.FalseString.