Struct bool
Represents a Boolean value.
Inherited Members
Namespace: System
Assembly: mscorlib.dll
Syntax
public bool
Fields
FalseString
Represents the Boolean value false as a string. This field is read-only.
Declaration
public static readonly string FalseString
Field Value
Type | Description |
---|---|
string |
TrueString
Represents the Boolean value true as a string. This field is read-only.
Declaration
public static readonly string TrueString
Field Value
Type | Description |
---|---|
string |
Methods
ToString()
Converts the value of this instance to its equivalent string representation (either "True" or "False").
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | TrueString if the value of this instance is true, or FalseString if the value of this instance is false. |