About system. Collections Space

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.