Common Collection Object Types
Here is a page that describes the different types of collection object managed with VB.Net
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
Example from https://www.dotnetperls.com/list-vbnet
1 | Module Module1 |
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