Jump to content

C Sharp/Collections

From Wikiversity

Collection is a data structure which can hold zero or more number of data items or related objects.

To contain these, .NET has a namespace 'System.Collections' which has interfaces and classes that define various collections, such as lists, queues, bit arrays, hash tables and dictionaries.

Classes in System.Collections

  1. ArrayList
  2. BitArray
  3. CaseInsensitiveComparer
  4. CaseInsensitiveHashCodeProvider
  5. CollectionBase
  6. Comparer
  7. DictionaryBase
  8. Hashtable
  9. Queue
  10. ReadOnlyCollectionBase
  11. SortedList
  12. Stack
  13. StructuralComparisons