Imports System
Imports Microsoft.VisualBasic ' Visual Basic .NET versions 1.0 and 1.1
Module Example
Sub Main()
Dim numbers1() As Integer = {1, 2, 3, 4, 5, 6, 7, 8, 9}
For i As Integer = 0 To 8
Console.Write("{0} ", numbers1(i))
Next i
Array.Clear(numbers1, 2, 5)
For i As Integer = 0 To 8
Console.Write("{0} ", numbers1(i))
Next i
End Sub
End Module