I have a text file containing the following content:
0 0 1 0 3 0 0 1 1 3 0 0 1 2 3 0 0 3 0 1 0 0 0 1 2 1 1 0 0 1 0 3 0 0 1 1 3 0 0 1 2 3 0 0 3 0 1 0
Let's say your string is called text, and contains "1 1 1 0 3 2 3" etc. You declare a string array.
String[] numbers1=text.Split(" ");
Now declare your int array and convert each one to int.
int[] numbers2=new int[numbers.Length]; for(int i=0; i
And you're done.