Use a nested for statement to initialize each element of the array to the sum of its indices.

What will be an ideal response?

```
for (var x = 0; x < table.GetLength(0); ++x)
{
for (var y = 0; y < table.GetLength(1); ++y)
{
table[x, y] = x + y;
}
}
```

Computer Science & Information Technology

You might also like to view...

Match the following terms to their meanings:

I. VIDEO TOOLS II. Trim III. Compress IV. Media controls A. to reduce the file size of a video file B. include the PLAYBACK and FORMAT tabs C. display playback and volume controls for a video D. to shorten a video

Computer Science & Information Technology

A computer's file location is defined by a file specification, also called a file ____________________

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology