[]
        
(Showing Draft Content)

C1.Util.DX.Bool

Bool Struct

A boolean value stored on 4 bytes (instead of 1 in .NET).

Implements
Namespace: C1.Util.DX
Assembly: C1.Win.C1DX.4.8.dll
Syntax
public struct Bool : IEquatable<Bool>

Constructors

Name Description
Bool(bool)

Initializes a new instance of the Bool class.

Fields

Name Description
False

The boolean False value.

SizeInBytes

The size of the Bool type, in bytes.

True

The boolean True value.

Properties

Name Description
Value

Gets or sets the boolean value.

Methods

Name Description
Equals(Bool)

Indicates whether this instance and a specified object are equal.

Equals(object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns a hash code for this instance.

ToString()

Returns a string that represents the current object.

Operators

Name Description
operator ==(Bool, Bool)

Determines if the specified values are equal.

implicit operator bool(Bool)

Performs an explicit conversion from Bool to bool.

implicit operator Bool(bool)

Performs an explicit conversion from bool to Bool.

operator !=(Bool, Bool)

Determines if the specified values are not equal.