Boolean | CF 1.0, ECMA 1.0, serializable |
System (mscorlib.dll) | struct |
This is a simple value type that
contains either
true or false. When converting
to or from a string or comparing with a string, the
TrueString and FalseString
fields are used (these return True and
False). This type is available in C# through the
bool alias.
public struct Boolean : IComparable, IConvertible {
// Public Static Fields
public static readonly string FalseString;
// =False
public static readonly string TrueString;
// =True
// Public Static Methods
public static bool Parse(string value);
// Public Instance Methods
public int CompareTo(object obj);
// implements IComparable
public override bool Equals(object obj);
// overrides ValueType
public override int GetHashCode( );
// overrides ValueType
public TypeCode GetTypeCode( );
// implements IConvertible
public override string ToString( );
// overrides ValueType
public string ToString(IFormatProvider provider);
// implements IConvertible
}
Hierarchy
Object
ValueType
Boolean(IComparable, IConvertible)
Returned By
Multiple types
Passed To
Multiple types
|