home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic .NET - Read Less - Learn More / Visual_Basic.NET_Read_Less_Learn_More_Richard_Bowman_Visual_2002.iso / Resources / Code / Ch4-CreateAnArray / Module1.vb < prev   
Text File  |  2001-07-12  |  284b  |  14 lines

  1. Module Module1
  2.     
  3.     Sub Main()
  4.         Dim myArray() As Integer = {1, 2, 3}
  5.  
  6.         Dim x As Integer
  7.         For x = 0 To 2
  8.             Console.WriteLine(myArray(x))
  9.         Next
  10.         Console.ReadLine()  ' wait for user to press Enter
  11.     End Sub
  12.     
  13. End Module
  14.