Table of Contents

Struct bool

Namespace
System
Assembly
mscorlib.dll

Represents a Boolean value.

public bool
Inherited Members

Fields

FalseString

Represents the Boolean value false as a string. This field is read-only.

public static readonly string FalseString

Field Value

string

TrueString

Represents the Boolean value true as a string. This field is read-only.

public static readonly string TrueString

Field Value

string

Methods

ToString()

Converts the value of this instance to its equivalent string representation (either "True" or "False").

public override string ToString()

Returns

string

TrueString if the value of this instance is true, or FalseString if the value of this instance is false.