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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!