Upper-Bounds Array

VbNet · Console

/Program.vb

Option Strict On
Imports System
Public Module Module1
	Public Sub Main()
		Dim methodsToDeclareAnArray(1) As String 'Declare a String array with an upper-bounds of 1(number of items is 2)
		methodsToDeclareAnArray(0) = "Specify the upper-bounds"
		methodsToDeclareAnArray(1) = "Initialize the array"
	End Sub
End Module
;