Multi dimensional String Array
An array allows to refer related values by the same name and to use a number, called an index or subscript, to tell them apart. The individual values are called the elements of the array.
Dim values() As Double
An array that uses more than one index or subscript is called multidimensional. A dimension is a direction in which you can vary the specification of an arrays elements.
Some arrays have two dimensions, therefore, such an array uses two indexes. 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.
Dim offices(40, 5) As Byte
The following VB.NET program shows a simple example of how to insert values in a two dimensional array and retrieve the values from two dimensional array.