title: Convert string numbers to Array C#
body: <p>Lets say I have a <code>string str = "012345";</code> I want to convert it to an array which would look like <code>intAry = {0, 1, 2, 3, 4, 5};</code>. Any ideas? </p>
  
  <p>I tried like this..</p>
  
  <pre><code>for (int i = 0; i &lt; str.Length; i++)
  {
     intAry[i] = Convert.ToInt32(str[i]);
  }
  </code></pre>
  
  <p>But what went to array are like 48, 49, etc. Which correct method should I use here?</p>