convert string to number array c# code example
Example 1: convert array from string to int c#
string[] strings = new string[] {"1", "55", "3"}
int[] asIntegers = Array.ConvertAll(strings, int.Parse);
Example 2: convert string to array c#
string myString = "foobar";
char[] myCharArray = myString.ToCharArray();
/* Example of myCharArray
{'f', 'o', 'o', 'b', 'a', 'r'}
*/