title: Parsing a 6 digit number into a 6 int array
body: <p>I want to be able to parse a a six digit number and take each character and place in an array for example: <code>"738593" -&gt; d[1] = 7, d[2] = 3. d[3] = 8</code>....etc</p>
  
  <pre><code>private void button2_Click(object sender, EventArgs e)
  {
      int[] d = new int[10];
      d1 = Integer.parseInt(String.valueOf(s.charAt(0)));
      d3 = Integer.parseInt(String.valueOf(s.charAt(1)));
      d2 = Integer.parseInt(String.valueOf(s.charAt(2))); //JAVA LINE
      ...
  }
  </code></pre>
  
  <p>I found a line from Java that does exactly what I want but I was looking around for a C# equivalent. Any ideas?</p>