Question: In C#, Make a Windows form application. It will be a four-by-four version of sudoku. The program should start by reading in a text file

In C#,

Make a Windows form application. It will be a four-by-four version of sudoku.

The program should start by reading in a text file of numbers and save them into a array of char. The file that you read could have a dynamic number of lines. Make sure you do not fix (hard code) the number of lines that can be read from the file.

Here are two lines to use for testing:

2103002000100400 1003340020000001 

Zero's should not populate the board, but the other numbers should.

The next step, is for your program to populate the board based on the locations above. Create a void method called (populate) to do so. If the user clicks on the Restart button, the program should re-populate the board with another configuration. If the user click the exit button, the user exits the program.

Here is an example of what it should look like:

In C#, Make a Windows form application. It will be a four-by-four

Form check an SW er Restart exit

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!