Add strings to List of String and use For Each loop to show each item
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")
For Each num As String In numbers
Console.WriteLine(num)
Next
End Sub
End Class