title: How to get ASCII value of a string in C#
body: <p>I need to get the ASCII values for individual string in C#</p>
  
  <p>Say for example I have an array</p>
  
  <pre><code>string[] ar =  new string{"1", "2", "3", "4", "5"};
  </code></pre>
  
  <p>I need to get the ASCII values of these individual array elements. Like for ar[0], ar[1]. I do not want to iterate through a loop</p>
  
  <p>So I tried </p>
  
  <pre><code>Encoding.UTF8.GetBytes(ar[0]) 
  </code></pre>
  
  <p>and it returns </p>
  
  <pre><code>System.byte[]
  </code></pre>
  
  <p>How do i convert it to the original ASCII knowing that this return just a byte array.</p>