Improving the code to turn a string into an array of numbers?
I'm partial to using LINQ here.  Jon has a point there on the conversion.

var str = "31654918562314";
var numbers = str.Select(c =&gt; c - '0').ToArray();