Code With VB .Net 51 How To Declare A 1D Array Dim ArrayName (HighestSubscript) As DataType Dim ArrayName ( ) As DataType = {InitialValues} Example Dim namapelajar (20) As String Dim harga () As Double = { 12.5, 41.3, 50.9 }