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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access