Common Collection Object Types
Dictionary<TKey, TValue>
aka Hashtable - a collection of key/value pairs
List
List is the basic type of list. You can add/remove.
aka Array
aka ArrayList
1 | Example from https://www.dotnetperls.com/list-vbnet |
Read in a collection of SparseColObjects
dim aColList as New List(Of SparseDefCol)
Dim nextColId as String = abo.firstcolid
While nextColId <> ""
dim aCol as SparseDefCol _
= sparsedefcol.GetOneByid(nextcolid)
aColList.Add (acol)
nextColId=aCol.NextColId
End While
````
### Queue<T>
### Stack<T>
### LinkedList<T>
### ObservableCollection<T>
### SortedList<TKey,TValue>
### HasSet<T>
### SortedSet<T>
## References
* https://docs.microsoft.com/en-us/dotnet/standard/collections/index
* https://www.dotnetperls.com/list-vbnet