These contain the human-readable forms of true and false.
Method | Meaning |
public int CompareTo(object v) | Returns zero if the values are equal. Returns a negative value if the invoking object is false and v is true. Returns a positive value if the invoking object is true and v is false. |
public override bool Equals(object v) | Returns true if the value of the invoking object equals the value of v. |
public override int GetHashCode() | Returns the hash code. |
public TypeCode GetTypeCode() | Returns the TypeCode enumeration value for Boolean, which is TypeCode.Boolean. |
public static bool Parse(string str) | Parses the string. If the string is neither "True" nor "False", an exception is thrown. However, case differences are ignored. |
public override string ToString() | Convert to string. |
string ToString(IFormatProvider fmtpvdr) | Convert to string using the culture-specific information specified in fmtpvdr. |