Question: Code has already been written to do the following: Create a two - dimensional string array GameGrid [ , ] GameGrid = new string [

Code has already been written to do the following:
Create a two-dimensional string array GameGrid[,]
GameGrid = new string[11,11]
{
// columns 012345678910
{"","A","B","C","D","E","F","J","H", "I", "J"},// row 0
{"1","*","*","*","*","*","*","*","*","*","*"},// row 1
{"2","*","*","*","*","*","*","*","*","*","*"},// row 2
{"3","*","*","*","*","*","*","*","*","*","*"},// row 3
{"4","*","*","*","*","*","*","*","*","*","*"},// row 4
{"5","*","*","*","*","*","*","*","*","*","*"},// row 5
{"6","*","*","*","*","*","*","*","*","*","*"},// row 6
{"7","*","*","*","*","*","*","*","*","*","*"},// row 7
{"8","*","*","*","*","*","*","*","*","*","*"},// row 8
{"9","*","*","*","*","*","*","*","*","*","*"},// row 9
{"10","*","*","*","*","*","*","*","*","*","*"},// row 10
};
Therefore, GameGrid[0,1] is row 0, column 1 which contains the letter A. GameGrid[2,1] is row 2, column 1 which contains an * character. Code has been written so that the DataGridView control will display the string characters from the GameGrid two-dimensional array.

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 Programming Questions!