How to create Arraylist and HashTable in asp.net
| Creating Arraylist in VB.NET and sort that
dim mycountries=New ArrayList mycountries.Add("India") mycountries.Add("USA") mycountries.Add("Pakisatn") mycountries.Add("Italy") mycountries.TrimToSize() mycountries.Sort() Creating Hashtable in VB.NET dim mycountries=New Hashtable mycountries.Add("N","Norway") mycountries.Add("S","Sweden") mycountries.Add("F" |
|
| ,"France")
mycountries.Add("I","Italy") | |
