Question: In C#, Let's say I have an input text file of integers that are 9x9 no spaces like so. 123456789 123456789 123456789 123456789 123456789 123456789
In C#, Let's say I have an input text file of integers that are 9x9 no spaces like so.
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
123456789
The only spaces is a new line between the 2 sets of 9x9 integers. How could I read input from the text file to store the 9x9 integers in 2 multidimensional arrays that are also 9x9. The first line of numbers would go in starting at [0,0] and end at [0,9] then we would grab the next line and store them in [1,0] through [1,9] so on and so forth.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
