Compared to “regular” collections, generic collections offer a significant advantage: they are always type-safe. Because they are not based on Object like the “normal” collections, such as the ArrayList class, they don’t accept any data type for elements; instead, they limit the collection items to whatever data type you specified when defining the collection.
For example, suppose that you define a Collection based on Integer with this code:
Dim locGenColl As New Collection(Of Integer)
Now you no longer run the risk of accidentally adding an element to your collection that is not an Integer. In other words, the following line would be marked as an error in the Editor at design time:
Using generic collections ...