If I want to store a list of names ie. "David", "Frank", "Chris", would it be better to do:
orCode:Dim al As New ArrayList() al.Add("David") al.Add("Frank") al.Add("Chris")
Also, what is the difference if you put the () with the variable name or with the type? I see sometimesCode:Dim names(2) As string names(0) = "David" names(1) = "Frank" names(2) = "Chris"
and other timesCode:Dim names(2) As string
Thanks!Code:Dim names As string()
Dave




Reply With Quote