15
1
Option Strict On
2
Imports System
3
Imports System.Collections.Generic
4
Public Module Module1
5
Public Sub Main()
6
'Declare a new List(Of String)
7
Dim garage As New List(Of String)
8
9
'Add my vehicles to the List
10
garage.AddRange({"1978 Ford Mustang II", "2004 Chevrolet Tahoe", "2008 Lincoln MKZ"})
11
12
'Print out my favorite vehicle
13
Console.WriteLine(garage.Item(0))
14
End Sub
15
End Module
Cached Result