Array.SetValue for two-dimensional array
Imports System
Public Class SamplesArray
Public Shared Sub Main()
' Creates and initializes a two-dimensional array.
Dim myArr2(5, 5) As [String]
myArr2.SetValue("one-three", 1, 3)
Console.WriteLine("[1,3]: {0}", myArr2.GetValue(1, 3))
End Sub 'Main
End Class 'SamplesArray
Related examples in the same category