C# Collections
About this Course
Collections are used to organize data so that it can be used efficiently. In this course we'll learn about the various collection types provided by the .NET framework.
What you'll learn
- Arrays
- Lists
- Sets
- Dictionaries
- Generics
Arrays
Arrays are good for retrieving and updating values, but not so good for finding, adding, and deleting values.
Lists
Internally, System.Generic.Collections.Listis an array, but it's much easier to work with.
Sets and Dictionaries
Sets and dictionaries are fast at finding, retrieving, and removing items. They're unordered and rely on object hash codes.