LANGUAGE
Rectangular array
A rank-two rectangular array indexed by two coordinates.
Formal Syntax & Structure
csharp syntaxcsharp
int[,] gridWorking Example
Example Snippetcsharp
int[,] grid = { { 1, 2 }, { 3, 4 } };A rank-two rectangular array indexed by two coordinates.
int[,] gridint[,] grid = { { 1, 2 }, { 3, 4 } };