title: What is the charCodeAt() equivalent in C#?
body: <p>What is the charCodeAt() equivalent in C#?</p>
  <h3>Current Code:</h3>
  <pre><code>   string outString=&quot;&quot;;
      for (var i = 0; i &lt; inpString.Length; i++)
      {
      outString += inpString.charCodeAt(i).toString(); //i need to replaced charCodeAt(i) with equalent c# code
      }
  </code></pre>
  <p>How can i do this in C#?</p>