title: Converting a string number into sequence of digits - .Net 2.0
body: <p>Given a string</p>
  <pre><code>string result = &quot;01234&quot;
  </code></pre>
  <p>I want to get the separate integers 0,1,2,3,4 from the string.</p>
  <p>How to do that?</p>
  <h1>1</h1>
  <p>The following code is giving me the <strong>ascii values</strong></p>
  <pre><code>List&lt;int&gt; ints = new List&lt;int&gt;();
  
      foreach (char c in result.ToCharArray())
      {
          ints.Add(Convert.ToInt32(c));
      }
  </code></pre>