convert Text file 2D array to integer 2D array
<p>I am trying to use data from text file (matrix [i, j]). I have code works with one dimension array  but doesn't work with two dimension array. I tried to use different method but I always get an error.</p>

<pre><code> string fileContent = File.ReadAllText(file path);
 string[] integerStrings = fileContent.Split(new char[] { ' ', '\t', '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
 integers = new int[integerStrings.Length];
 for (int n = 0; n &lt; integerStrings.Length; n++)
 integers[n] = int.Parse(integerStrings[n]);
</code></pre>

<p>I modify it to this </p>

<pre><code>  string fileContent = File.ReadAllText(path);
        string[,] integerStrings = fileContent.Split(new char[,] { ' ', '\t', '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
        integers = new int[integerStrings.Length,2];
        for (int n = 0; n &lt; integerStrings.Length; n++)
            for (int j = 0; j &lt;2; n++)
                integers[n,j] = int.Parse(integerStrings[n,j]);
</code></pre>

<p>the text file </p>

<pre><code>0   0   
2   0   
4   0   
6   0   
8   1   
10  1   
12  1   
14  2   
16  3   
18  3   
</code></pre>

<p>Note the code I need should be fixable with rows number</p>