Imports System
Imports System.Collections.Generic
Public Class Example
Public Shared Sub Main()
Dim numbers As New List(Of String)
Console.WriteLine("Capacity: {0}", numbers.Capacity)
numbers.Add("One")
numbers.Add("Two")
numbers.Add("Three")
numbers.Add("Four")
numbers.Add("Five")
numbers.Insert(2, "Five")
For Each num As String In numbers
Console.WriteLine(num)
Next
End Sub
End Class