Multi Dimensional Array
An array is a data structure that allows you to store and manipulate a collection of related values under a single name. Each value in an array is identified by an index or subscript, which is a number used to differentiate between the elements.
In C#, an array can hold elements of any type, including other array types. The Array class serves as the abstract base type for all array types in C#. It provides various methods and properties for working with arrays.
Multidimensional arrays
C# supports multidimensional arrays, which have more than one index or subscript. A dimension represents a direction in which you can vary the specification of the array's elements. For example, a two-dimensional array has two dimensions and uses two indexes to access its elements. The following example declares a variable to hold a two-dimensional array of office counts, for buildings 0 through 40 and floors 0 through 5.
The following C# program shows a simple example of how to insert values in a two dimensional array and retrieve the values from two dimensional array.
Full Source C#