# C1.Util.DX.Bool

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Bool" data-uid="C1.Util.DX.Bool" class="text-break">Bool Struct
</h1>
  <div class="markdown level0 summary"><p>A boolean value stored on 4 bytes (instead of 1 in .NET).</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="C1.Util.DX.Bool.html">Bool</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Bool_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct Bool : IEquatable&lt;Bool&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure Bool
    Implements IEquatable(Of Bool)</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Bool__ctor_System_Boolean_" data-uid="C1.Util.DX.Bool.#ctor(System.Boolean)">
          <a class="xref" href="C1.Util.DX.Bool.-ctor.html#C1_Util_DX_Bool__ctor_System_Boolean_">Bool(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.Bool.html">Bool</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Bool_False" data-uid="C1.Util.DX.Bool.False">
          <a class="xref" href="C1.Util.DX.Bool.False.html">False</a>
        </td>
        <td class="markdown level1 summary"><p>The boolean False value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_SizeInBytes" data-uid="C1.Util.DX.Bool.SizeInBytes">
          <a class="xref" href="C1.Util.DX.Bool.SizeInBytes.html">SizeInBytes</a>
        </td>
        <td class="markdown level1 summary"><p>The size of the <a class="xref" href="C1.Util.DX.Bool.html">Bool</a> type, in bytes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_True" data-uid="C1.Util.DX.Bool.True">
          <a class="xref" href="C1.Util.DX.Bool.True.html">True</a>
        </td>
        <td class="markdown level1 summary"><p>The boolean True value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Bool_Value" data-uid="C1.Util.DX.Bool.Value">
          <a class="xref" href="C1.Util.DX.Bool.Value.html#C1_Util_DX_Bool_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the boolean value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Bool_Equals_C1_Util_DX_Bool_" data-uid="C1.Util.DX.Bool.Equals(C1.Util.DX.Bool)">
          <a class="xref" href="C1.Util.DX.Bool.Equals.html#C1_Util_DX_Bool_Equals_C1_Util_DX_Bool_">Equals(Bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_Equals_System_Object_" data-uid="C1.Util.DX.Bool.Equals(System.Object)">
          <a class="xref" href="C1.Util.DX.Bool.Equals.html#C1_Util_DX_Bool_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether this instance and a specified object are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_GetHashCode" data-uid="C1.Util.DX.Bool.GetHashCode">
          <a class="xref" href="C1.Util.DX.Bool.GetHashCode.html#C1_Util_DX_Bool_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_ToString" data-uid="C1.Util.DX.Bool.ToString">
          <a class="xref" href="C1.Util.DX.Bool.ToString.html#C1_Util_DX_Bool_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Bool_op_Equality_C1_Util_DX_Bool_C1_Util_DX_Bool_" data-uid="C1.Util.DX.Bool.op_Equality(C1.Util.DX.Bool,C1.Util.DX.Bool)">
          <a class="xref" href="C1.Util.DX.Bool.op_Equality.html#C1_Util_DX_Bool_op_Equality_C1_Util_DX_Bool_C1_Util_DX_Bool_">operator ==(Bool, Bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified values are equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_op_Implicit_C1_Util_DX_Bool__System_Boolean" data-uid="C1.Util.DX.Bool.op_Implicit(C1.Util.DX.Bool)~System.Boolean">
          <a class="xref" href="C1.Util.DX.Bool.op_Implicit.html#C1_Util_DX_Bool_op_Implicit_C1_Util_DX_Bool__System_Boolean">implicit operator bool(Bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="C1.Util.DX.Bool.html">Bool</a> to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_op_Implicit_System_Boolean__C1_Util_DX_Bool" data-uid="C1.Util.DX.Bool.op_Implicit(System.Boolean)~C1.Util.DX.Bool">
          <a class="xref" href="C1.Util.DX.Bool.op_Implicit.html#C1_Util_DX_Bool_op_Implicit_System_Boolean__C1_Util_DX_Bool">implicit operator Bool(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Performs an explicit conversion from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a> to <a class="xref" href="C1.Util.DX.Bool.html">Bool</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Bool_op_Inequality_C1_Util_DX_Bool_C1_Util_DX_Bool_" data-uid="C1.Util.DX.Bool.op_Inequality(C1.Util.DX.Bool,C1.Util.DX.Bool)">
          <a class="xref" href="C1.Util.DX.Bool.op_Inequality.html#C1_Util_DX_Bool_op_Inequality_C1_Util_DX_Bool_C1_Util_DX_Bool_">operator !=(Bool, Bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the specified values are not equal.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
