# C1.Framework.CharHelper.FromAnsi

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_CharHelper_FromAnsi_" data-uid="C1.Framework.CharHelper.FromAnsi*">FromAnsi Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_CharHelper_FromAnsi_" data-uid="C1.Framework.CharHelper.FromAnsi*"></a>
<h4 id="C1_Framework_CharHelper_FromAnsi_System_Char_" data-uid="C1.Framework.CharHelper.FromAnsi(System.Char)">FromAnsi(char)</h4>
<div class="markdown level1 summary"><p>Converts the value of an ANSI character to it's Unicode
equivalent.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static char FromAnsi(char c)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function FromAnsi(c As Char) As Char</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">c</span></td>
      <td><p>An ANSI character.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><p>A Unicode character equivalent of c.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_CharHelper_FromAnsi_" data-uid="C1.Framework.CharHelper.FromAnsi*"></a>
<h4 id="C1_Framework_CharHelper_FromAnsi_System_Char_System_Globalization_CultureInfo_" data-uid="C1.Framework.CharHelper.FromAnsi(System.Char,System.Globalization.CultureInfo)">FromAnsi(char, CultureInfo)</h4>
<div class="markdown level1 summary"><p>Converts the value of a ANSI character to it's Unicode
equivalent using the specified culture information.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static char FromAnsi(char c, CultureInfo culture)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function FromAnsi(c As Char, culture As CultureInfo) As Char</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">c</span></td>
      <td><p>An ANSI character.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a></td>
      <td><span class="parametername">culture</span></td>
      <td><p>A CultureInfo object. If a null reference is passed, the
current culture is assumed.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><p>An Unicode character equivalent of c using the specified culture.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
