The system. Collections namespace contains available collection classes and related interfaces, providing basic functions of the collection.
The. NET non-generic collection classes in the namespace are as follows:
-System. Collections. arraylist: array collection class. The ilist interface can be implemented by dynamically increasing the size of an array.
-System. Collections. bitarray: A boolean collection class that manages compressed arrays of bit values. This value is a Boolean value.
-System. Collections. queue: queue, indicating the object's first-in-first-out set.
-System. Collections. STACK: Stack, which indicates a simple post-import, first-out, and set of objects.
-System. Collections. hashtable: A hash table that represents a set of key/value pairs.CodeOrganize
-System. Collections. sortedlist: Sorting set class, which indicates a set of key/value pairs. These keys and values are sorted by key and value keys and can be accessed by keys and indexes.
The. NET non-generic interface in the namespace is as follows:
-System. collections. icollection: (inherited from ienumerable) defines the size of all sets, enumerators and Synchronization Methods. You can get the number of items in the set and copy the items to a simple array type.
-System. Collections. icomparer: Method for comparing two objects
-System. Collections. ilist: (inherited from ienumerable and icollection) indicates that a group of objects can be accessed separately according to the index, a list of items in the set is provided, and these items can be accessed.
-System. Collections. idictionary: (inherited from ienumerable and icollection) indicates the set of key/value pairs.
-System. Collections. idictionaryenumerator: enumeration dictionary Element
-System. Collections. ienumerator: supports simple iteration on the set to iterate items in the set. Supports simple iteration in non-generic sets.
The system. Collections namespace contains available collection classes and related interfaces, providing basic functions of the collection.
The. NET non-generic collection classes in the namespace are as follows:
-System. Collections. arraylist: array collection class. The ilist interface can be implemented by dynamically increasing the size of an array.
-System. Collections. bitarray: A boolean collection class that manages compressed arrays of bit values. This value is a Boolean value.
-System. Collections. queue: queue, indicating the object's first-in-first-out set.
-System. Collections. STACK: Stack, which indicates a simple post-import, first-out, and set of objects.
-System. Collections. hashtable: A hash table that represents a set of key/value pairs. These key/value pairs are organized according to the hash code of the key.
-System. Collections. sortedlist: Sorting set class, which indicates a set of key/value pairs. These keys and values are sorted by key and value keys and can be accessed by keys and indexes.
The. NET non-generic interface in the namespace is as follows:
-System. collections. icollection: (inherited from ienumerable) defines the size of all sets, enumerators and Synchronization Methods. You can get the number of items in the set and copy the items to a simple array type.
-System. Collections. icomparer: Method for comparing two objects
-System. Collections. ilist: (inherited from ienumerable and icollection) indicates that a group of objects can be accessed separately according to the index, a list of items in the set is provided, and these items can be accessed.
-System. Collections. idictionary: (inherited from ienumerable and icollection) indicates the set of key/value pairs.
-System. Collections. idictionaryenumerator: enumeration dictionary Element
-System. Collections. ienumerator: supports simple iteration on the set to iterate items in the set. Supports simple iteration in non-generic sets.
The system. Collections namespace contains available collection classes and related interfaces, providing basic functions of the collection.
The. NET non-generic collection classes in the namespace are as follows:
--System. Collections. arraylist: array collection class. The ilist interface can be implemented by dynamically increasing the size of an array.
-System. Collections. bitarray: A boolean collection class that manages compressed arrays of bit values. This value is a Boolean value.
-System. Collections. queue: queue, indicating the object's first-in-first-out set.
-System. Collections. STACK: Stack, which indicates a simple post-import, first-out, and set of objects.
-System. Collections. hashtable: A hash table that represents a set of key/value pairs. These key/value pairs are organized based on the hash code of the key.
-System. Collections. sortedlist: Sorting set class, which indicates a set of key/value pairs. These keys and values are sorted by key and value keys and can be accessed by keys and indexes.
The. NET non-generic interface in the namespace is as follows:
-System. collections. icollection: (inherited from ienumerable) defines the size of all sets, enumerators and Synchronization Methods. You can get the number of items in the set and copy the items to a simple array type.
-System. Collections. icomparer: Method for comparing two objects
-System. Collections. ilist: (inherited from ienumerable and icollection) indicates that a group of objects can be accessed separately according to the index, a list of items in the set is provided, and these items can be accessed.
-System. Collections. idictionary: (inherited from ienumerable and icollection) indicates the set of key/value pairs.
-System. Collections. idictionaryenumerator: enumeration dictionary Element
-System. Collections. ienumerator: supports simple iteration on the set to iterate items in the set. Supports simple iteration in non-generic sets.