System.Collections
Manages a compact array of bit values, which are represented as Booleans, where true indicates that the bit is on (1) and false indicates the bit is off (0).
2
Initializes a new instance of the class that contains bit values copied from the specified array of Booleans.
An array of Booleans to copy.
is null.
Initializes a new instance of the class that contains bit values copied from the specified array of bytes.
An array of bytes containing the values to copy, where each byte represents eight consecutive bits.
is null.
The length of is greater than .
Initializes a new instance of the class that contains bit values copied from the specified .
The to copy.
is null.
Initializes a new instance of the class that can hold the specified number of bit values, which are initially set to false.
The number of bit values in the new .
is less than zero.
Initializes a new instance of the class that can hold the specified number of bit values, which are initially set to the specified value.
The number of bit values in the new .
The Boolean value to assign to each bit.
is less than zero.
Initializes a new instance of the class that contains bit values copied from the specified array of 32-bit integers.
An array of integers containing the values to copy, where each integer represents 32 consecutive bits.
is null.
The length of is greater than
Performs the bitwise AND operation on the elements in the current against the corresponding elements in the specified .
The current instance containing the result of the bitwise AND operation on the elements in the current against the corresponding elements in the specified .
The with which to perform the bitwise AND operation.
is null.
and the current do not have the same number of elements.
2
Gets the value of the bit at a specific position in the .
The value of the bit at position .
The zero-based index of the value to get.
is less than zero.-or- is greater than or equal to the number of elements in the .
2
Returns an enumerator that iterates through the .
An for the entire .
2
Gets or sets the value of the bit at a specific position in the .
The value of the bit at position .
The zero-based index of the value to get or set.
is less than zero.-or- is equal to or greater than .
2
Gets or sets the number of elements in the .
The number of elements in the .
The property is set to a value that is less than zero.
2
Inverts all the bit values in the current , so that elements set to true are changed to false, and elements set to false are changed to true.
The current instance with inverted bit values.
2
Performs the bitwise OR operation on the elements in the current against the corresponding elements in the specified .
The current instance containing the result of the bitwise OR operation on the elements in the current against the corresponding elements in the specified .
The with which to perform the bitwise OR operation.
is null.
and the current do not have the same number of elements.
2
Sets the bit at a specific position in the to the specified value.
The zero-based index of the bit to set.
The Boolean value to assign to the bit.
is less than zero.-or- is greater than or equal to the number of elements in the .
2
Sets all bits in the to the specified value.
The Boolean value to assign to all bits.
2
Copies the elements of the to an , starting at the specified index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets the number of elements in the .
The number of elements in the .
Gets a value that indicates whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Performs the bitwise exclusive OR operation on the elements in the current against the corresponding elements in the specified .
The current instance containing the result of the bitwise exclusive OR operation on the elements in the current against the corresponding elements in the specified .
The with which to perform the bitwise exclusive OR operation.
is null.
and the current do not have the same number of elements.
2
Provides objects for performing a structural comparison of two collection objects.
Gets a predefined object that performs a structural comparison of two objects.
A predefined object that is used to perform a structural comparison of two collection objects.
Gets a predefined object that compares two objects for structural equality.
A predefined object that is used to compare two collection objects for structural equality.
Provides a base class for implementations of the generic interface.
The type of objects to compare.
1
Initializes a new instance of the class.
When overridden in a derived class, performs a comparison of two objects of the same type and returns a value indicating whether one object is less than, equal to, or greater than the other.
A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
The first object to compare.
The second object to compare.
Type does not implement either the generic interface or the interface.
Creates a comparer by using the specified comparison.
The new comparer.
The comparison to use.
Returns a default sort order comparer for the type specified by the generic argument.
An object that inherits and serves as a sort order comparer for type .
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
A signed integer that indicates the relative values of and , as shown in the following table.Value Meaning Less than zero is less than .Zero equals .Greater than zero is greater than .
The first object to compare.
The second object to compare.
or is of a type that cannot be cast to type .-or- and do not implement either the generic interface or the interface.
Represents a collection of keys and values.To browse the .NET Framework source code for this type, see the Reference Source.
The type of the keys in the dictionary.
The type of the values in the dictionary.
1
Initializes a new instance of the class that is empty, has the default initial capacity, and uses the default equality comparer for the key type.
Initializes a new instance of the class that contains elements copied from the specified and uses the default equality comparer for the key type.
The whose elements are copied to the new .
is null.
contains one or more duplicate keys.
Initializes a new instance of the class that contains elements copied from the specified and uses the specified .
The whose elements are copied to the new .
The implementation to use when comparing keys, or null to use the default for the type of the key.
is null.
contains one or more duplicate keys.
Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified .
The implementation to use when comparing keys, or null to use the default for the type of the key.
Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the default equality comparer for the key type.
The initial number of elements that the can contain.
is less than 0.
Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the specified .
The initial number of elements that the can contain.
The implementation to use when comparing keys, or null to use the default for the type of the key.
is less than 0.
Adds the specified key and value to the dictionary.
The key of the element to add.
The value of the element to add. The value can be null for reference types.
is null.
An element with the same key already exists in the .
Removes all keys and values from the .
Gets the that is used to determine equality of keys for the dictionary.
The generic interface implementation that is used to determine equality of keys for the current and to provide hash values for the keys.
Determines whether the contains the specified key.
true if the contains an element with the specified key; otherwise, false.
The key to locate in the .
is null.
Determines whether the contains a specific value.
true if the contains an element with the specified value; otherwise, false.
The value to locate in the . The value can be null for reference types.
Gets the number of key/value pairs contained in the .
The number of key/value pairs contained in the .
Returns an enumerator that iterates through the .
A structure for the .
Gets or sets the value associated with the specified key.
The value associated with the specified key. If the specified key is not found, a get operation throws a , and a set operation creates a new element with the specified key.
The key of the value to get or set.
is null.
The property is retrieved and does not exist in the collection.
Gets a collection containing the keys in the .
A containing the keys in the .
Removes the value with the specified key from the .
true if the element is successfully found and removed; otherwise, false. This method returns false if is not found in the .
The key of the element to remove.
is null.
Adds the specified value to the with the specified key.
The structure representing the key and value to add to the .
The key of is null.
An element with the same key already exists in the .
Determines whether the contains a specific key and value.
true if is found in the ; otherwise, false.
The structure to locate in the .
Copies the elements of the to an array of type , starting at the specified array index.
The one-dimensional array of type that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets a value indicating whether the dictionary is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Removes a key and value from the dictionary.
true if the key and value represented by is successfully found and removed; otherwise, false. This method returns false if is not found in the .
The structure representing the key and value to remove from the .
Gets an containing the keys of the .
An of type containing the keys of the .
Gets an containing the values in the .
An of type containing the values in the .
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Gets a collection containing the keys of the .
A collection containing the keys of the .
Gets a collection containing the values of the .
A collection containing the values of the .
Copies the elements of the to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Adds the specified key and value to the dictionary.
The object to use as the key.
The object to use as the value.
is null.
is of a type that is not assignable to the key type of the .-or- is of a type that is not assignable to , the type of values in the .-or-A value with the same key already exists in the .
Determines whether the contains an element with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key to locate in the .
is null.
Returns an for the .
An for the .
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false. In the default implementation of , this property always returns false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Gets or sets the value with the specified key.
The value associated with the specified key, or null if is not in the dictionary or is of a type that is not assignable to the key type of the .
The key of the value to get.
is null.
A value is being assigned, and is of a type that is not assignable to the key type of the .-or-A value is being assigned, and is of a type that is not assignable to the value type of the .
Gets an containing the keys of the .
An containing the keys of the .
Removes the element with the specified key from the .
The key of the element to remove.
is null.
Gets an containing the values in the .
An containing the values in the .
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Gets the value associated with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key of the value to get.
When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
is null.
Gets a collection containing the values in the .
A containing the values in the .
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the dictionary at the current position of the enumerator, as a .
The enumerator is positioned before the first element of the collection or after the last element.
Gets the key of the element at the current position of the enumerator.
The key of the element in the dictionary at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Gets the value of the element at the current position of the enumerator.
The value of the element in the dictionary at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator, as an .
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents the collection of keys in a . This class cannot be inherited.
Initializes a new instance of the class that reflects the keys in the specified .
The whose keys are reflected in the new .
is null.
Copies the elements to an existing one-dimensional , starting at the specified array index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .Retrieving the value of this property is an O(1) operation.
Returns an enumerator that iterates through the .
A for the .
Adds an item to the . This implementation always throws .
The object to add to the .
Always thrown.
Removes all items from the . This implementation always throws .
Always thrown.
Determines whether the contains a specific value.
true if is found in the ; otherwise, false.
The object to locate in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns true.
Removes the first occurrence of a specific object from the . This implementation always throws .
true if was successfully removed from the ; otherwise, false. This method also returns false if was not found in the original .
The object to remove from the .
Always thrown.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents the collection of values in a . This class cannot be inherited.
Initializes a new instance of the class that reflects the values in the specified .
The whose values are reflected in the new .
is null.
Copies the elements to an existing one-dimensional , starting at the specified array index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator that iterates through the .
A for the .
Adds an item to the . This implementation always throws .
The object to add to the .
Always thrown.
Removes all items from the . This implementation always throws .
Always thrown.
Determines whether the contains a specific value.
true if is found in the ; otherwise, false.
The object to locate in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns true.
Removes the first occurrence of a specific object from the . This implementation always throws .
true if was successfully removed from the ; otherwise, false. This method also returns false if was not found in the original .
The object to remove from the .
Always thrown.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Provides a base class for implementations of the generic interface.
The type of objects to compare.
Initializes a new instance of the class.
Returns a default equality comparer for the type specified by the generic argument.
The default instance of the class for type .
When overridden in a derived class, determines whether two objects of type are equal.
true if the specified objects are equal; otherwise, false.
The first object to compare.
The second object to compare.
When overridden in a derived class, serves as a hash function for the specified object for hashing algorithms and data structures, such as a hash table.
A hash code for the specified object.
The object for which to get a hash code.
The type of is a reference type and is null.
Determines whether the specified objects are equal.
true if the specified objects are equal; otherwise, false.
The first object to compare.
The second object to compare.
or is of a type that cannot be cast to type .
Returns a hash code for the specified object.
A hash code for the specified object.
The for which a hash code is to be returned.
The type of is a reference type and is null.-or- is of a type that cannot be cast to type .
Represents a set of values.To browse the .NET Framework source code for this type, see the Reference Source.
The type of elements in the hash set.
Initializes a new instance of the class that is empty and uses the default equality comparer for the set type.
Initializes a new instance of the class that uses the default equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.
The collection whose elements are copied to the new set.
is null.
Initializes a new instance of the class that uses the specified equality comparer for the set type, contains elements copied from the specified collection, and has sufficient capacity to accommodate the number of elements copied.
The collection whose elements are copied to the new set.
The implementation to use when comparing values in the set, or null to use the default implementation for the set type.
is null.
Initializes a new instance of the class that is empty and uses the specified equality comparer for the set type.
The implementation to use when comparing values in the set, or null to use the default implementation for the set type.
Adds the specified element to a set.
true if the element is added to the object; false if the element is already present.
The element to add to the set.
Removes all elements from a object.
Gets the object that is used to determine equality for the values in the set.
The object that is used to determine equality for the values in the set.
Determines whether a object contains the specified element.
true if the object contains the specified element; otherwise, false.
The element to locate in the object.
Copies the elements of a object to an array.
The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing.
is null.
Copies the elements of a object to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is greater than the length of the destination .
Copies the specified number of elements of a object to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the object. The array must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements to copy to .
is null.
is less than 0.-or- is less than 0.
is greater than the length of the destination .-or- is greater than the available space from the to the end of the destination .
Gets the number of elements that are contained in a set.
The number of elements that are contained in the set.
Removes all elements in the specified collection from the current object.
The collection of items to remove from the object.
is null.
Returns an enumerator that iterates through a object.
A object for the object.
Modifies the current object to contain only elements that are present in that object and in the specified collection.
The collection to compare to the current object.
is null.
Determines whether a object is a proper subset of the specified collection.
true if the object is a proper subset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a proper superset of the specified collection.
true if the object is a proper superset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a subset of the specified collection.
true if the object is a subset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a superset of the specified collection.
true if the object is a superset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether the current object and a specified collection share common elements.
true if the object and share at least one common element; otherwise, false.
The collection to compare to the current object.
is null.
Removes the specified element from a object.
true if the element is successfully found and removed; otherwise, false. This method returns false if is not found in the object.
The element to remove.
Removes all elements that match the conditions defined by the specified predicate from a collection.
The number of elements that were removed from the collection.
The delegate that defines the conditions of the elements to remove.
is null.
Determines whether a object and the specified collection contain the same elements.
true if the object is equal to ; otherwise, false.
The collection to compare to the current object.
is null.
Modifies the current object to contain only elements that are present either in that object or in the specified collection, but not both.
The collection to compare to the current object.
is null.
Adds an item to an object.
The object to add to the object.
The is read-only.
Gets a value indicating whether a collection is read-only.
true if the collection is read-only; otherwise, false.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Returns an enumerator that iterates through a collection.
An object that can be used to iterate through the collection.
Sets the capacity of a object to the actual number of elements it contains, rounded up to a nearby, implementation-specific value.
Modifies the current object to contain all elements that are present in itself, the specified collection, or both.
The collection to compare to the current object.
is null.
Enumerates the elements of a object.
2
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Releases all resources used by a object.
Advances the enumerator to the next element of the collection.
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator, as an .
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents a doubly linked list.
Specifies the element type of the linked list.
1
Initializes a new instance of the class that is empty.
Initializes a new instance of the class that contains elements copied from the specified and has sufficient capacity to accommodate the number of elements copied.
The whose elements are copied to the new .
is null.
Adds the specified new node after the specified existing node in the .
The after which to insert .
The new to add to the .
is null.-or- is null.
is not in the current .-or- belongs to another .
Adds a new node containing the specified value after the specified existing node in the .
The new containing .
The after which to insert a new containing .
The value to add to the .
is null.
is not in the current .
Adds the specified new node before the specified existing node in the .
The before which to insert .
The new to add to the .
is null.-or- is null.
is not in the current .-or- belongs to another .
Adds a new node containing the specified value before the specified existing node in the .
The new containing .
The before which to insert a new containing .
The value to add to the .
is null.
is not in the current .
Adds the specified new node at the start of the .
The new to add at the start of the .
is null.
belongs to another .
Adds a new node containing the specified value at the start of the .
The new containing .
The value to add at the start of the .
Adds the specified new node at the end of the .
The new to add at the end of the .
is null.
belongs to another .
Adds a new node containing the specified value at the end of the .
The new containing .
The value to add at the end of the .
Removes all nodes from the .
Determines whether a value is in the .
true if is found in the ; otherwise, false.
The value to locate in the . The value can be null for reference types.
Copies the entire to a compatible one-dimensional , starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of nodes actually contained in the .
The number of nodes actually contained in the .
Finds the first node that contains the specified value.
The first that contains the specified value, if found; otherwise, null.
The value to locate in the .
Finds the last node that contains the specified value.
The last that contains the specified value, if found; otherwise, null.
The value to locate in the .
Gets the first node of the .
The first of the .
Returns an enumerator that iterates through the .
An for the .
Gets the last node of the .
The last of the .
Removes the specified node from the .
The to remove from the .
is null.
is not in the current .
Removes the first occurrence of the specified value from the .
true if the element containing is successfully removed; otherwise, false. This method also returns false if was not found in the original .
The value to remove from the .
Removes the node at the start of the .
The is empty.
Removes the node at the end of the .
The is empty.
Adds an item at the end of the .
The value to add at the end of the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through the linked list as a collection.
An that can be used to iterate through the linked list as a collection.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection. This class cannot be inherited.
The collection was modified after the enumerator was created.
Represents a node in a . This class cannot be inherited.
Specifies the element type of the linked list.
1
Initializes a new instance of the class, containing the specified value.
The value to contain in the .
Gets the that the belongs to.
A reference to the that the belongs to, or null if the is not linked.
Gets the next node in the .
A reference to the next node in the , or null if the current node is the last element () of the .
Gets the previous node in the .
A reference to the previous node in the , or null if the current node is the first element () of the .
Gets the value contained in the node.
The value contained in the node.
Represents a strongly typed list of objects that can be accessed by index. Provides methods to search, sort, and manipulate lists.To browse the .NET Framework source code for this type, see the Reference Source.
The type of elements in the list.
1
Initializes a new instance of the class that is empty and has the default initial capacity.
Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
The collection whose elements are copied to the new list.
is null.
Initializes a new instance of the class that is empty and has the specified initial capacity.
The number of elements that the new list can initially store.
is less than 0.
Adds an object to the end of the .
The object to be added to the end of the . The value can be null for reference types.
Adds the elements of the specified collection to the end of the .
The collection whose elements should be added to the end of the . The collection itself cannot be null, but it can contain elements that are null, if type is a reference type.
is null.
Returns a read-only wrapper for the current collection.
A that acts as a read-only wrapper around the current .
Searches a range of elements in the sorted for an element using the specified comparer and returns the zero-based index of the element.
The zero-based index of in the sorted , if is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
The zero-based starting index of the range to search.
The length of the range to search.
The object to locate. The value can be null for reference types.
The implementation to use when comparing elements, or null to use the default comparer .
is less than 0.-or- is less than 0.
and do not denote a valid range in the .
is null, and the default comparer cannot find an implementation of the generic interface or the interface for type .
Searches the entire sorted for an element using the default comparer and returns the zero-based index of the element.
The zero-based index of in the sorted , if is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
The object to locate. The value can be null for reference types.
The default comparer cannot find an implementation of the generic interface or the interface for type .
Searches the entire sorted for an element using the specified comparer and returns the zero-based index of the element.
The zero-based index of in the sorted , if is found; otherwise, a negative number that is the bitwise complement of the index of the next element that is larger than or, if there is no larger element, the bitwise complement of .
The object to locate. The value can be null for reference types.
The implementation to use when comparing elements.-or-null to use the default comparer .
is null, and the default comparer cannot find an implementation of the generic interface or the interface for type .
Gets or sets the total number of elements the internal data structure can hold without resizing.
The number of elements that the can contain before resizing is required.
is set to a value that is less than .
There is not enough memory available on the system.
Removes all elements from the .
Determines whether an element is in the .
true if is found in the ; otherwise, false.
The object to locate in the . The value can be null for reference types.
Copies a range of elements from the to a compatible one-dimensional array, starting at the specified index of the target array.
The zero-based index in the source at which copying begins.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements to copy.
is null.
is less than 0.-or- is less than 0.-or- is less than 0.
is equal to or greater than the of the source .-or-The number of elements from to the end of the source is greater than the available space from to the end of the destination .
Copies the entire to a compatible one-dimensional array, starting at the beginning of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
is null.
The number of elements in the source is greater than the number of elements that the destination can contain.
Copies the entire to a compatible one-dimensional array, starting at the specified index of the target array.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Determines whether the contains elements that match the conditions defined by the specified predicate.
true if the contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.
The delegate that defines the conditions of the elements to search for.
is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire .
The first element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type .
The delegate that defines the conditions of the element to search for.
is null.
Retrieves all the elements that match the conditions defined by the specified predicate.
A containing all the elements that match the conditions defined by the specified predicate, if found; otherwise, an empty .
The delegate that defines the conditions of the elements to search for.
is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements.
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The zero-based starting index of the search.
The number of elements in the section to search.
The delegate that defines the conditions of the element to search for.
is null.
is outside the range of valid indexes for the .-or- is less than 0.-or- and do not specify a valid section in the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element.
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The zero-based starting index of the search.
The delegate that defines the conditions of the element to search for.
is null.
is outside the range of valid indexes for the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the entire .
The zero-based index of the first occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The delegate that defines the conditions of the element to search for.
is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire .
The last element that matches the conditions defined by the specified predicate, if found; otherwise, the default value for type .
The delegate that defines the conditions of the element to search for.
is null.
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the that contains the specified number of elements and ends at the specified index.
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The zero-based starting index of the backward search.
The number of elements in the section to search.
The delegate that defines the conditions of the element to search for.
is null.
is outside the range of valid indexes for the .-or- is less than 0.-or- and do not specify a valid section in the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the range of elements in the that extends from the first element to the specified index.
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The zero-based starting index of the backward search.
The delegate that defines the conditions of the element to search for.
is null.
is outside the range of valid indexes for the .
Searches for an element that matches the conditions defined by the specified predicate, and returns the zero-based index of the last occurrence within the entire .
The zero-based index of the last occurrence of an element that matches the conditions defined by , if found; otherwise, –1.
The delegate that defines the conditions of the element to search for.
is null.
Performs the specified action on each element of the .
The delegate to perform on each element of the .
is null.
Returns an enumerator that iterates through the .
A for the .
Creates a shallow copy of a range of elements in the source .
A shallow copy of a range of elements in the source .
The zero-based index at which the range starts.
The number of elements in the range.
is less than 0.-or- is less than 0.
and do not denote a valid range of elements in the .
Searches for the specified object and returns the zero-based index of the first occurrence within the entire .
The zero-based index of the first occurrence of within the entire , if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the that extends from the specified index to the last element.
The zero-based index of the first occurrence of within the range of elements in the that extends from to the last element, if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
is outside the range of valid indexes for the .
Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the that starts at the specified index and contains the specified number of elements.
The zero-based index of the first occurrence of within the range of elements in the that starts at and contains number of elements, if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
The zero-based starting index of the search. 0 (zero) is valid in an empty list.
The number of elements in the section to search.
is outside the range of valid indexes for the .-or- is less than 0.-or- and do not specify a valid section in the .
Inserts an element into the at the specified index.
The zero-based index at which should be inserted.
The object to insert. The value can be null for reference types.
is less than 0.-or- is greater than .
Inserts the elements of a collection into the at the specified index.
The zero-based index at which the new elements should be inserted.
The collection whose elements should be inserted into the . The collection itself cannot be null, but it can contain elements that are null, if type is a reference type.
is null.
is less than 0.-or- is greater than .
Gets or sets the element at the specified index.
The element at the specified index.
The zero-based index of the element to get or set.
is less than 0.-or- is equal to or greater than .
Searches for the specified object and returns the zero-based index of the last occurrence within the entire .
The zero-based index of the last occurrence of within the entire the , if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the that extends from the first element to the specified index.
The zero-based index of the last occurrence of within the range of elements in the that extends from the first element to , if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
The zero-based starting index of the backward search.
is outside the range of valid indexes for the .
Searches for the specified object and returns the zero-based index of the last occurrence within the range of elements in the that contains the specified number of elements and ends at the specified index.
The zero-based index of the last occurrence of within the range of elements in the that contains number of elements and ends at , if found; otherwise, –1.
The object to locate in the . The value can be null for reference types.
The zero-based starting index of the backward search.
The number of elements in the section to search.
is outside the range of valid indexes for the .-or- is less than 0.-or- and do not specify a valid section in the .
Removes the first occurrence of a specific object from the .
true if is successfully removed; otherwise, false. This method also returns false if was not found in the .
The object to remove from the . The value can be null for reference types.
Removes all the elements that match the conditions defined by the specified predicate.
The number of elements removed from the .
The delegate that defines the conditions of the elements to remove.
is null.
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than 0.-or- is equal to or greater than .
Removes a range of elements from the .
The zero-based starting index of the range of elements to remove.
The number of elements to remove.
is less than 0.-or- is less than 0.
and do not denote a valid range of elements in the .
Reverses the order of the elements in the entire .
Reverses the order of the elements in the specified range.
The zero-based starting index of the range to reverse.
The number of elements in the range to reverse.
is less than 0.-or- is less than 0.
and do not denote a valid range of elements in the .
Sorts the elements in the entire using the default comparer.
The default comparer cannot find an implementation of the generic interface or the interface for type .
Sorts the elements in the entire using the specified comparer.
The implementation to use when comparing elements, or null to use the default comparer .
is null, and the default comparer cannot find implementation of the generic interface or the interface for type .
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
Sorts the elements in the entire using the specified .
The to use when comparing elements.
is null.
The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
Sorts the elements in a range of elements in using the specified comparer.
The zero-based starting index of the range to sort.
The length of the range to sort.
The implementation to use when comparing elements, or null to use the default comparer .
is less than 0.-or- is less than 0.
and do not specify a valid range in the .-or-The implementation of caused an error during the sort. For example, might not return 0 when comparing an item with itself.
is null, and the default comparer cannot find implementation of the generic interface or the interface for type .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Adds an item to the .
The position into which the new element was inserted.
The to add to the .
is of a type that is not assignable to the .
Determines whether the contains a specific value.
true if is found in the ; otherwise, false.
The to locate in the .
Determines the index of a specific item in the .
The index of if found in the list; otherwise, –1.
The object to locate in the .
is of a type that is not assignable to the .
Inserts an item to the at the specified index.
The zero-based index at which should be inserted.
The object to insert into the .
is not a valid index in the .
is of a type that is not assignable to the .
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false. In the default implementation of , this property always returns false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Gets or sets the element at the specified index.
The element at the specified index.
The zero-based index of the element to get or set.
is not a valid index in the .
The property is set and is of a type that is not assignable to the .
Removes the first occurrence of a specific object from the .
The object to remove from the .
is of a type that is not assignable to the .
Copies the elements of the to a new array.
An array containing copies of the elements of the .
Sets the capacity to the actual number of elements in the , if that number is less than a threshold value.
Determines whether every element in the matches the conditions defined by the specified predicate.
true if every element in the matches the conditions defined by the specified predicate; otherwise, false. If the list has no elements, the return value is true.
The delegate that defines the conditions to check against the elements.
is null.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents a first-in, first-out collection of objects.
Specifies the type of elements in the queue.
1
Initializes a new instance of the class that is empty and has the default initial capacity.
Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
The collection whose elements are copied to the new .
is null.
Initializes a new instance of the class that is empty and has the specified initial capacity.
The initial number of elements that the can contain.
is less than zero.
Removes all objects from the .
1
Determines whether an element is in the .
true if is found in the ; otherwise, false.
The object to locate in the . The value can be null for reference types.
Copies the elements to an existing one-dimensional , starting at the specified array index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Removes and returns the object at the beginning of the .
The object that is removed from the beginning of the .
The is empty.
Adds an object to the end of the .
The object to add to the . The value can be null for reference types.
Returns an enumerator that iterates through the .
An for the .
Returns the object at the beginning of the without removing it.
The object at the beginning of the .
The is empty.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the elements to a new array.
A new array containing elements copied from the .
Sets the capacity to the actual number of elements in the , if that number is less than 90 percent of current capacity.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents a collection of key/value pairs that are sorted on the key.
The type of the keys in the dictionary.
The type of the values in the dictionary.
1
Initializes a new instance of the class that is empty and uses the default implementation for the key type.
Initializes a new instance of the class that is empty and uses the specified implementation to compare keys.
The implementation to use when comparing keys, or null to use the default for the type of the key.
Initializes a new instance of the class that contains elements copied from the specified and uses the default implementation for the key type.
The whose elements are copied to the new .
is null.
contains one or more duplicate keys.
Initializes a new instance of the class that contains elements copied from the specified and uses the specified implementation to compare keys.
The whose elements are copied to the new .
The implementation to use when comparing keys, or null to use the default for the type of the key.
is null.
contains one or more duplicate keys.
Adds an element with the specified key and value into the .
The key of the element to add.
The value of the element to add. The value can be null for reference types.
is null.
An element with the same key already exists in the .
Removes all elements from the .
Gets the used to order the elements of the .
The used to order the elements of the
Determines whether the contains an element with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key to locate in the .
is null.
Determines whether the contains an element with the specified value.
true if the contains an element with the specified value; otherwise, false.
The value to locate in the . The value can be null for reference types.
Copies the elements of the to the specified array of structures, starting at the specified index.
The one-dimensional array of structures that is the destination of the elements copied from the current The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of key/value pairs contained in the .
The number of key/value pairs contained in the .
Returns an enumerator that iterates through the .
A for the .
Gets or sets the value associated with the specified key.
The value associated with the specified key. If the specified key is not found, a get operation throws a , and a set operation creates a new element with the specified key.
The key of the value to get or set.
is null.
The property is retrieved and does not exist in the collection.
Gets a collection containing the keys in the .
A containing the keys in the .
Removes the element with the specified key from the .
true if the element is successfully removed; otherwise, false. This method also returns false if is not found in the .
The key of the element to remove.
is null.
Adds an item to the .
The structure to add to the .
is null.
An element with the same key already exists in the .
Determines whether the contains a specific key and value.
true if is found in the ; otherwise, false.
The structure to locate in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Removes the first occurrence of the specified element from the .
true if was successfully removed from the ; otherwise, false. This method also returns false if was not found in the .
The structure to remove from the .
Gets an containing the keys of the .
An containing the keys of the .
Gets an containing the values in the .
An containing the values in the .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Gets a collection containing the keys in the
A collection containing the keys in the
Gets a collection containing the values in the
A collection containing the values in the
Copies the elements of the to an array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the .
Adds an element with the provided key and value to the .
The object to use as the key of the element to add.
The object to use as the value of the element to add.
is null.
is of a type that is not assignable to the key type of the .-or- is of a type that is not assignable to the value type of the .-or-An element with the same key already exists in the .
Determines whether the contains an element with the specified key.
true if the contains an element with the key; otherwise, false.
The key to locate in the .
is null.
Returns an for the .
An for the .
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false. In the default implementation of , this property always returns false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Gets or sets the element with the specified key.
The element with the specified key, or null if is not in the dictionary or is of a type that is not assignable to the key type of the .
The key of the element to get.
is null.
A value is being assigned, and is of a type that is not assignable to the key type of the .-or-A value is being assigned, and is of a type that is not assignable to the value type of the .
Gets an containing the keys of the .
An containing the keys of the .
Removes the element with the specified key from the .
The key of the element to remove.
is null.
Gets an containing the values in the .
An containing the values in the .
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Gets the value associated with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key of the value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter.
is null.
Gets a collection containing the values in the .
A containing the values in the .
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator as a structure.
The element in the collection at the current position of the dictionary, as a structure.
The enumerator is positioned before the first element of the collection or after the last element.
Gets the key of the element at the current position of the enumerator.
The key of the element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Gets the value of the element at the current position of the enumerator.
The value of the element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents the collection of keys in a . This class cannot be inherited.
Initializes a new instance of the class that reflects the keys in the specified .
The whose keys are reflected in the new .
is null.
Copies the elements to an existing one-dimensional array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator that iterates through the .
A structure for the .
Adds an item to the . This implementation always throws a .
The object to add to the .
Always thrown; the collection is read-only.
Removes all items from the . This implementation always throws a .
Always thrown; the collection is read-only.
Determines whether the contains the specified value.
true if is found in the ; otherwise, false.
The object to locate in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Removes the first occurrence of a specific object from the . This implementation always throws a .
true if is successfully removed from the ; otherwise, false. This method also returns false if is not found in the .
The object to remove from the .
Always thrown; the collection is read-only.
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Copies the elements of the to an array, starting at a particular array index.
The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents the collection of values in a . This class cannot be inherited
Initializes a new instance of the class that reflects the values in the specified .
The whose values are reflected in the new .
is null.
Copies the elements to an existing one-dimensional array, starting at the specified array index.
The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator that iterates through the .
A structure for the .
Adds an item to the . This implementation always throws a .
The object to add to the .
Always thrown; the collection is read-only.
Removes all items from the . This implementation always throws a .
Always thrown; the collection is read-only.
Determines whether the contains a specified value.
true if is found in the ; otherwise, false.
The object to locate in the .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Removes the first occurrence of a specific object from the . This implementation always throws a .
true if is successfully removed from the ; otherwise, false. This method also returns false if is not found in the .
The object to remove from the .
Always thrown; the collection is read-only.
Removes the first occurrence of a specific object from the . This implementation always throws a .
true if is successfully removed from the ; otherwise, false. This method also returns false if is not found in the .
Always thrown; the collection is read-only.
Copies the elements of the to an array, starting at a particular array index.
The one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than 0.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents a collection of key/value pairs that are sorted by key based on the associated implementation.
The type of keys in the collection.
The type of values in the collection.
Initializes a new instance of the class that is empty, has the default initial capacity, and uses the default .
Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified .
The implementation to use when comparing keys.-or-null to use the default for the type of the key.
Initializes a new instance of the class that contains elements copied from the specified , has sufficient capacity to accommodate the number of elements copied, and uses the default .
The whose elements are copied to the new .
is null.
contains one or more duplicate keys.
Initializes a new instance of the class that contains elements copied from the specified , has sufficient capacity to accommodate the number of elements copied, and uses the specified .
The whose elements are copied to the new .
The implementation to use when comparing keys.-or-null to use the default for the type of the key.
is null.
contains one or more duplicate keys.
Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the default .
The initial number of elements that the can contain.
is less than zero.
Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the specified .
The initial number of elements that the can contain.
The implementation to use when comparing keys.-or-null to use the default for the type of the key.
is less than zero.
Adds an element with the specified key and value into the .
The key of the element to add.
The value of the element to add. The value can be null for reference types.
is null.
An element with the same key already exists in the .
Gets or sets the number of elements that the can contain.
The number of elements that the can contain.
is set to a value that is less than .
There is not enough memory available on the system.
Removes all elements from the .
Gets the for the sorted list.
The for the current .
Determines whether the contains a specific key.
true if the contains an element with the specified key; otherwise, false.
The key to locate in the .
is null.
Determines whether the contains a specific value.
true if the contains an element with the specified value; otherwise, false.
The value to locate in the . The value can be null for reference types.
Gets the number of key/value pairs contained in the .
The number of key/value pairs contained in the .
Returns an enumerator that iterates through the .
An of type for the .
Searches for the specified key and returns the zero-based index within the entire .
The zero-based index of within the entire , if found; otherwise, -1.
The key to locate in the .
is null.
Searches for the specified value and returns the zero-based index of the first occurrence within the entire .
The zero-based index of the first occurrence of within the entire , if found; otherwise, -1.
The value to locate in the . The value can be null for reference types.
Gets or sets the value associated with the specified key.
The value associated with the specified key. If the specified key is not found, a get operation throws a and a set operation creates a new element using the specified key.
The key whose value to get or set.
is null.
The property is retrieved and does not exist in the collection.
Gets a collection containing the keys in the , in sorted order.
A containing the keys in the .
Removes the element with the specified key from the .
true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original .
The key of the element to remove.
is null.
Removes the element at the specified index of the .
The zero-based index of the element to remove.
is less than zero.-or- is equal to or greater than .
Adds a key/value pair to the .
The to add to the .
Determines whether the contains a specific element.
true if is found in the ; otherwise, false.
The to locate in the .
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Removes the first occurrence of a specific key/value pair from the .
true if was successfully removed from the ; otherwise, false. This method also returns false if was not found in the original .
The to remove from the .
Gets an containing the keys of the .
An containing the keys of the .
Gets an containing the values in the .
An containing the values in the .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Gets an enumerable collection that contains the keys in the read-only dictionary.
An enumerable collection that contains the keys in the read-only dictionary.
Gets an enumerable collection that contains the values in the read-only dictionary.
An enumerable collection that contains the values in the read-only dictionary.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Adds an element with the provided key and value to the .
The to use as the key of the element to add.
The to use as the value of the element to add.
is null.
is of a type that is not assignable to the key type of the .-or- is of a type that is not assignable to the value type of the .-or-An element with the same key already exists in the .
Determines whether the contains an element with the specified key.
true if the contains an element with the key; otherwise, false.
The key to locate in the .
is null.
Returns an for the .
An for the .
Gets a value indicating whether the has a fixed size.
true if the has a fixed size; otherwise, false. In the default implementation of , this property always returns false.
Gets a value indicating whether the is read-only.
true if the is read-only; otherwise, false. In the default implementation of , this property always returns false.
Gets or sets the element with the specified key.
The element with the specified key, or null if is not in the dictionary or is of a type that is not assignable to the key type of the .
The key of the element to get or set.
is null.
A value is being assigned, and is of a type that is not assignable to the key type of the .-or-A value is being assigned, and is of a type that is not assignable to the value type of the .
Gets an containing the keys of the .
An containing the keys of the .
Removes the element with the specified key from the .
The key of the element to remove.
is null.
Gets an containing the values in the .
An containing the values in the .
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Sets the capacity to the actual number of elements in the , if that number is less than 90 percent of current capacity.
Gets the value associated with the specified key.
true if the contains an element with the specified key; otherwise, false.
The key whose value to get.
When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized.
is null.
Gets a collection containing the values in the .
A containing the values in the .
Represents a collection of objects that is maintained in sorted order.
The type of elements in the set.
Initializes a new instance of the class.
Initializes a new instance of the class that uses a specified comparer.
The default comparer to use for comparing objects.
is null.
Initializes a new instance of the class that contains elements copied from a specified enumerable collection.
The enumerable collection to be copied.
Initializes a new instance of the class that contains elements copied from a specified enumerable collection and that uses a specified comparer.
The enumerable collection to be copied.
The default comparer to use for comparing objects.
is null.
Adds an element to the set and returns a value that indicates if it was successfully added.
true if is added to the set; otherwise, false.
The element to add to the set.
Removes all elements from the set.
Gets the object that is used to determine equality for the values in the .
The comparer that is used to determine equality for the values in the .
Determines whether the set contains a specific element.
true if the set contains ; otherwise, false.
The element to locate in the set.
Copies the complete to a compatible one-dimensional array, starting at the beginning of the target array.
A one-dimensional array that is the destination of the elements copied from the .
The number of elements in the source exceeds the number of elements that the destination array can contain.
is null.
Copies the complete to a compatible one-dimensional array, starting at the specified array index.
A one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements in the source array is greater than the available space from to the end of the destination array.
is null.
is less than zero.
Copies a specified number of elements from to a compatible one-dimensional array, starting at the specified array index.
A one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements to copy.
The number of elements in the source array is greater than the available space from to the end of the destination array.
is null.
is less than zero.-or- is less than zero.
Gets the number of elements in the .
The number of elements in the .
Removes all elements that are in a specified collection from the current object.
The collection of items to remove from the object.
is null.
Returns an enumerator that iterates through the .
An enumerator that iterates through the in sorted order.
Returns a view of a subset in a .
A subset view that contains only the values in the specified range.
The lowest desired value in the view.
The highest desired value in the view.
is more than according to the comparer.
A tried operation on the view was outside the range specified by and .
Modifies the current object so that it contains only elements that are also in a specified collection.
The collection to compare to the current object.
is null.
Determines whether a object is a proper subset of the specified collection.
true if the object is a proper subset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a proper superset of the specified collection.
true if the object is a proper superset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a subset of the specified collection.
true if the current object is a subset of ; otherwise, false.
The collection to compare to the current object.
is null.
Determines whether a object is a superset of the specified collection.
true if the object is a superset of ; otherwise, false.
The collection to compare to the current object.
is null.
Gets the maximum value in the , as defined by the comparer.
The maximum value in the set.
Gets the minimum value in the , as defined by the comparer.
The minimum value in the set.
Determines whether the current object and a specified collection share common elements.
true if the object and share at least one common element; otherwise, false.
The collection to compare to the current object.
is null.
Removes a specified item from the .
true if the element is found and successfully removed; otherwise, false.
The element to remove.
Removes all elements that match the conditions defined by the specified predicate from a .
The number of elements that were removed from the collection..
The delegate that defines the conditions of the elements to remove.
is null.
Returns an that iterates over the in reverse order.
An enumerator that iterates over the in reverse order.
Determines whether the current object and the specified collection contain the same elements.
true if the current object is equal to ; otherwise, false.
The collection to compare to the current object.
is null.
Modifies the current object so that it contains only elements that are present either in the current object or in the specified collection, but not both.
The collection to compare to the current object.
is null.
Adds an item to an object.
The object to add to the object.
The is read-only.
Gets a value that indicates whether a is read-only.
true if the collection is read-only; otherwise, false.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Copies the complete to a compatible one-dimensional array, starting at the specified array index.
A one-dimensional array that is the destination of the elements copied from the . The array must have zero-based indexing.
The zero-based index in at which copying begins.
The number of elements in the source array is greater than the available space from to the end of the destination array.
is null.
is less than zero.
Gets a value that indicates whether access to the is synchronized (thread safe).
true if access to the is synchronized; otherwise, false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An enumerator that can be used to iterate through the collection.
Modifies the current object so that it contains all elements that are present in either the current object or the specified collection.
The collection to compare to the current object.
is null.
Enumerates the elements of a object.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
Releases all resources used by the .
Advances the enumerator to the next element of the collection.
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
Represents a variable size last-in-first-out (LIFO) collection of instances of the same specified type.
Specifies the type of elements in the stack.
1
Initializes a new instance of the class that is empty and has the default initial capacity.
Initializes a new instance of the class that contains elements copied from the specified collection and has sufficient capacity to accommodate the number of elements copied.
The collection to copy elements from.
is null.
Initializes a new instance of the class that is empty and has the specified initial capacity or the default initial capacity, whichever is greater.
The initial number of elements that the can contain.
is less than zero.
Removes all objects from the .
1
Determines whether an element is in the .
true if is found in the ; otherwise, false.
The object to locate in the . The value can be null for reference types.
Copies the to an existing one-dimensional , starting at the specified array index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
The number of elements in the source is greater than the available space from to the end of the destination .
Gets the number of elements contained in the .
The number of elements contained in the .
Returns an enumerator for the .
An for the .
Returns the object at the top of the without removing it.
The object at the top of the .
The is empty.
Removes and returns the object at the top of the .
The object removed from the top of the .
The is empty.
Inserts an object at the top of the .
The object to push onto the . The value can be null for reference types.
Returns an enumerator that iterates through the collection.
An that can be used to iterate through the collection.
Copies the elements of the to an , starting at a particular index.
The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
The zero-based index in at which copying begins.
is null.
is less than zero.
is multidimensional.-or- does not have zero-based indexing.-or-The number of elements in the source is greater than the available space from to the end of the destination .-or-The type of the source cannot be cast automatically to the type of the destination .
Gets a value indicating whether access to the is synchronized (thread safe).
true if access to the is synchronized (thread safe); otherwise, false. In the default implementation of , this property always returns false.
Gets an object that can be used to synchronize access to the .
An object that can be used to synchronize access to the . In the default implementation of , this property always returns the current instance.
Returns an enumerator that iterates through a collection.
An that can be used to iterate through the collection.
Copies the to a new array.
A new array containing copies of the elements of the .
Sets the capacity to the actual number of elements in the , if that number is less than 90 percent of current capacity.
Enumerates the elements of a .
Gets the element at the current position of the enumerator.
The element in the at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Releases all resources used by the .
Advances the enumerator to the next element of the .
true if the enumerator was successfully advanced to the next element; false if the enumerator has passed the end of the collection.
The collection was modified after the enumerator was created.
Gets the element at the current position of the enumerator.
The element in the collection at the current position of the enumerator.
The enumerator is positioned before the first element of the collection or after the last element.
Sets the enumerator to its initial position, which is before the first element in the collection. This class cannot be inherited.
The collection was modified after the enumerator was created.