ToCharArray generates two sets of numbers instead of one
<p>Hi I am trying to split a string into  an array of chars but for some reason the result is not what I expect.I passed this piece of code threw with the debugger and i gave it the string "34325".When I reach the part of the code that converts the string into an array of chars for some reason I can see two sets of chars in the debugger.I get something like this:</p>

<p>char[0] = 51 '3'
char[1] = 52 '4'
char[2] = 51 '3'
char[3] = 50 '2'
char[4] = 53 '5'</p>

<p>When I then convert each element of the char array into an int the first number of is always take : 51 , 52 ,51 , 50 , 53.</p>

<p>My question is how can I correct this so I get 3 , 4 , 3 , 2 , 5?
And also from where are this numbers coming from when I use the toCharArray() method : 51 ,52 ,51 ,50 53?</p>

<p>This is my code:</p>

<pre><code>    value = TextBox1.Text;

    char[] numberChars = value.ToCharArray();
    int[] numbers = numberChars.Select(x =&gt; Convert.ToInt32(x)).ToArray();

    for( int i = 0; i &lt; numbers.Length; i++ ) {
        TextBox2.Text += numbers[i] + " ";
    }
</code></pre>
