Summary

Applications often require data access. You store data within classes and structures, but often you need to group a set of data and collections to help you in this task. The .NET Framework offers both nongeneric collections (such as ArrayList, Queue, Stack, and HashTable) and generic ones (such as List(Of T), ObservableCollection(Of T), Dictionary(Of TKey, TValue), Queue(Of T), and Stack(Of T)). In both cases you can add, remove, and edit items within collections using the same members (due to the interfaces implementations). Moreover, with the feature of collection initializers, you can instantiate and populate collections inline. Although you typically use collections for manipulating data, the .NET Framework provides some special ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.