Skip to main content
Collections
- Arrays: Fixed-size collections of elements of the same type.
- ArrayList:Any datatype can be inserted
- List<T>: Dynamic arrays that automatically resize as needed.
- Dictionary<TKey, TValue>: Collection of key-value pairs.
- HashSet<T>: Collection of unique elements.
- Queue<T>: First-in-first-out (FIFO) collection.
- Stack<T>: Last-in-first-out (LIFO) collection.
- LinkedList<T>: Doubly linked list.
- SortedDictionary<TKey, TValue>: Sorted collection of key-value pairs.
- SortedSet<T>: Sorted collection of unique elements.
- Hashtable: Non-generic collection of key-value pairs.
- SortedDictionary<TKey, TValue>: Sorted collection of key-value pairs.
- SortedSet<T>: Sorted collection of unique elements.
- BitArray: Collection of bits that can be individually set or cleared.
- ConcurrentBag<T>: Thread-safe collection for unordered bags of objects.
- ConcurrentDictionary<TKey, TValue>: Thread-safe collection of key-value pairs.
- ConcurrentQueue<T>: Thread-safe first-in-first-out (FIFO) collection.
- ConcurrentStack<T>: Thread-safe last-in-first-out (LIFO) collection.
- Immutable collections: Collections that cannot be modified after creation, such as ImmutableList<T>, ImmutableDictionary<TKey, TValue>, etc.
Comments
Post a Comment