' Visual Basic 2008 9.0 .NET Examples - Introduction to Arrays - Arrays : Module Exercise3Solution Sub Main() Dim values(9) As Integer ' Dim index As Integer For index = 0 To 9 values(index) = 10 - index Console.WriteLine("element " & (index + 1) & _ " ( index " & index & " ) : " & _ values(index)) Next ' Console.ReadLine() End Sub End Module ' Visit www.studyvb.com for more examples. Copyright 2003-2008 De Wolf.