# C1.Win.Util.CodeRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Util_CodeRange" data-uid="C1.Win.Util.CodeRange" class="text-break">CodeRange Class
</h1>
  <div class="markdown level0 summary"><p>Represents range of character codes.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">CodeRange</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Util.html">C1.Win.Util</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Win_Util_CodeRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CodeRange : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CodeRange
    Implements ICloneable</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_Win_Util_CodeRange__ctor_System_Char_" data-uid="C1.Win.Util.CodeRange.#ctor(System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRange.-ctor.html#C1_Win_Util_CodeRange__ctor_System_Char_">CodeRange(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialization of the range of character codes</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange__ctor_System_Char_System_Char_" data-uid="C1.Win.Util.CodeRange.#ctor(System.Char,System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRange.-ctor.html#C1_Win_Util_CodeRange__ctor_System_Char_System_Char_">CodeRange(char, char)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialization of the range of character codes</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange__ctor_System_UInt16_System_UInt16_" data-uid="C1.Win.Util.CodeRange.#ctor(System.UInt16,System.UInt16)">
          <a class="xref" href="C1.Win.Util.CodeRange.-ctor.html#C1_Win_Util_CodeRange__ctor_System_UInt16_System_UInt16_">CodeRange(ushort, ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Win.Util.CodeRange.html">CodeRange</a> class.</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_Win_Util_CodeRange_First" data-uid="C1.Win.Util.CodeRange.First">
          <a class="xref" href="C1.Win.Util.CodeRange.First.html#C1_Win_Util_CodeRange_First">First</a>
        </td>
        <td class="markdown level1 summary"><p>The begin code of character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_Last" data-uid="C1.Win.Util.CodeRange.Last">
          <a class="xref" href="C1.Win.Util.CodeRange.Last.html#C1_Win_Util_CodeRange_Last">Last</a>
        </td>
        <td class="markdown level1 summary"><p>The end code of character.</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_Win_Util_CodeRange_Clone" data-uid="C1.Win.Util.CodeRange.Clone">
          <a class="xref" href="C1.Win.Util.CodeRange.Clone.html#C1_Win_Util_CodeRange_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_Contains_C1_Win_Util_CodeRange_" data-uid="C1.Win.Util.CodeRange.Contains(C1.Win.Util.CodeRange)">
          <a class="xref" href="C1.Win.Util.CodeRange.Contains.html#C1_Win_Util_CodeRange_Contains_C1_Win_Util_CodeRange_">Contains(CodeRange)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_FromUtf32_System_Int32_" data-uid="C1.Win.Util.CodeRange.FromUtf32(System.Int32)">
          <a class="xref" href="C1.Win.Util.CodeRange.FromUtf32.html#C1_Win_Util_CodeRange_FromUtf32_System_Int32_">FromUtf32(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert form code point to text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_IsSurrogateHigh_System_Char_" data-uid="C1.Win.Util.CodeRange.IsSurrogateHigh(System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRange.IsSurrogateHigh.html#C1_Win_Util_CodeRange_IsSurrogateHigh_System_Char_">IsSurrogateHigh(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether is high code (Unicode) of surrogate character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_IsSurrogateLow_System_Char_" data-uid="C1.Win.Util.CodeRange.IsSurrogateLow(System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRange.IsSurrogateLow.html#C1_Win_Util_CodeRange_IsSurrogateLow_System_Char_">IsSurrogateLow(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether is low code (Unicode) of surrogate character.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_IsSurrogatePair_System_Char___System_Int32_" data-uid="C1.Win.Util.CodeRange.IsSurrogatePair(System.Char[],System.Int32)">
          <a class="xref" href="C1.Win.Util.CodeRange.IsSurrogatePair.html#C1_Win_Util_CodeRange_IsSurrogatePair_System_Char___System_Int32_">IsSurrogatePair(char[], int)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether is pair of surrogate characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_IsSurrogatePair_System_String_System_Int32_" data-uid="C1.Win.Util.CodeRange.IsSurrogatePair(System.String,System.Int32)">
          <a class="xref" href="C1.Win.Util.CodeRange.IsSurrogatePair.html#C1_Win_Util_CodeRange_IsSurrogatePair_System_String_System_Int32_">IsSurrogatePair(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Whether is pair of surrogate characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_ToUtf32_System_Char_System_Char_" data-uid="C1.Win.Util.CodeRange.ToUtf32(System.Char,System.Char)">
          <a class="xref" href="C1.Win.Util.CodeRange.ToUtf32.html#C1_Win_Util_CodeRange_ToUtf32_System_Char_System_Char_">ToUtf32(char, char)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert surrogate pair to UTF32 code.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Util_CodeRange_ToUtf32_System_String_System_Int32_" data-uid="C1.Win.Util.CodeRange.ToUtf32(System.String,System.Int32)">
          <a class="xref" href="C1.Win.Util.CodeRange.ToUtf32.html#C1_Win_Util_CodeRange_ToUtf32_System_String_System_Int32_">ToUtf32(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Convert text's character (maybe with surrogate pairs) to UTF32 code.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
