System.Collections.Specialized Provides a simple structure that stores Boolean values and small integers in 32 bits of memory. Initializes a new instance of the structure containing the data represented in an existing structure. A structure that contains the data to copy. Initializes a new instance of the structure containing the data represented in an integer. An integer representing the data of the new . Creates the first mask in a series of masks that can be used to retrieve individual bits in a that is set up as bit flags. A mask that isolates the first bit flag in the . Creates an additional mask following the specified mask in a series of masks that can be used to retrieve individual bits in a that is set up as bit flags. A mask that isolates the bit flag following the one that points to in . The mask that indicates the previous bit flag. indicates the last bit flag in the . Creates the first in a series of sections that contain small integers. A that can hold a number from zero to . A 16-bit signed integer that specifies the maximum value for the new . is less than 1. Creates a new following the specified in a series of sections that contain small integers. A that can hold a number from zero to . A 16-bit signed integer that specifies the maximum value for the new . The previous in the . is less than 1. includes the final bit in the .-or- is greater than the highest value that can be represented by the number of bits after . Gets the value of the as an integer. The value of the as an integer. Determines whether the specified object is equal to the . true if the specified object is equal to the ; otherwise, false. The object to compare with the current . Serves as a hash function for the . A hash code for the . Gets or sets the value stored in the specified . The value stored in the specified . A that contains the value to get or set. Gets or sets the state of the bit flag indicated by the specified mask. true if the specified bit flag is on (1); otherwise, false. A mask that indicates the bit to get or set. Returns a string that represents the current . A string that represents the current . Returns a string that represents the specified . A string that represents the specified . The to represent. Represents a section of the vector that can contain an integer number. Determines whether the specified object is the same as the current object. true if the parameter is the same as the current object; otherwise false. The object to compare with the current object. Determines whether the specified object is the same as the current object. true if the specified object is the same as the current object; otherwise, false. The object to compare with the current . Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table. A hash code for the current . Gets a mask that isolates this section within the . A mask that isolates this section within the . Gets the offset of this section from the start of the . The offset of this section from the start of the . Determines whether two specified objects are equal. true if the and parameters represent the same object, otherwise, false. A object. A object. Determines whether two objects have different values. true if the and parameters represent different objects; otherwise, false. A object. A object. Returns a string that represents the current . A string that represents the current . Returns a string that represents the specified . A string that represents the specified . The to represent. Implements IDictionary by using a while the collection is small, and then switching to a when the collection gets large. Creates an empty case-sensitive . Creates an empty with the specified case sensitivity. A Boolean that denotes whether the is case-insensitive. Creates a case-sensitive with the specified initial size. The approximate number of entries that the can initially contain. Creates a with the specified initial size and case sensitivity. The approximate number of entries that the can initially contain. A Boolean that denotes whether the is case-insensitive. Adds an entry with the specified key and value into the . The key of the entry to add. The value of the entry to add. The value can be null. is null. An entry with the same key already exists in the . Removes all entries from the . Determines whether the contains a specific key. true if the contains an entry with the specified key; otherwise, false. The key to locate in the . is null. Copies the entries to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the objects 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 . The type of the source cannot be cast automatically to the type of the destination . Gets the number of key/value pairs contained in the . The number of key/value pairs contained in the .Retrieving the value of this property is an O(1) operation. Returns an that iterates through the . An for the . Gets a value indicating whether the has a fixed size. This property always returns false. Gets a value indicating whether the is read-only. This property always returns false. Gets a value indicating whether the is synchronized (thread safe). This property always returns false. Gets or sets the value associated with the specified key. The value associated with the specified key. If the specified key is not found, attempting to get it returns null, and attempting to set it creates a new entry using the specified key. The key whose value to get or set. is null. Gets an containing the keys in the . An containing the keys in the . Removes the entry with the specified key from the . The key of the entry to remove. is null. Gets an object that can be used to synchronize access to the . An object that can be used to synchronize access to the . Returns an that iterates through the . An for the . Gets an containing the values in the . An containing the values in the . Represents an indexed collection of key/value pairs. Returns an enumerator that iterates through the collection. An for the entire collection. Inserts a key/value pair into the collection at the specified index. The zero-based index at which the key/value pair should be inserted. The object to use as the key of the element to add. The object to use as the value of the element to add. The value can be null. is less than 0.-or- is greater than . is null. An element with the same key already exists in the collection. The collection is read-only.-or-The collection has a fixed size. 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 . Removes the element at the specified index. The zero-based index of the element to remove. is less than 0.-or- is equal to or greater than . The collection is read-only.-or- The collection has a fixed size. Implements IDictionary using a singly linked list. Recommended for collections that typically include fewer than 10 items. Creates an empty using the default comparer. Creates an empty using the specified comparer. The to use to determine whether two keys are equal.-or- null to use the default comparer, which is each key's implementation of . Adds an entry with the specified key and value into the . The key of the entry to add. The value of the entry to add. The value can be null. is null. An entry with the same key already exists in the . Removes all entries from the . Determines whether the contains a specific key. true if the contains an entry with the specified key; otherwise, false. The key to locate in the . is null. Copies the entries to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the objects 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 . The type of the source cannot be cast automatically to the type of the destination . Gets the number of key/value pairs contained in the . The number of key/value pairs contained in the . Returns an that iterates through the . An for the . Gets a value indicating whether the has a fixed size. This property always returns false. Gets a value indicating whether the is read-only. This property always returns false. Gets a value indicating whether the is synchronized (thread safe). This property always returns false. Gets or sets the value associated with the specified key. The value associated with the specified key. If the specified key is not found, attempting to get it returns null, and attempting to set it creates a new entry using the specified key. The key whose value to get or set. is null. Gets an containing the keys in the . An containing the keys in the . Removes the entry with the specified key from the . The key of the entry to remove. is null. Gets an object that can be used to synchronize access to the . An object that can be used to synchronize access to the . Returns an that iterates through the . An for the . Gets an containing the values in the . An containing the values in the . Provides the abstract base class for a collection of associated keys and values that can be accessed either with the key or with the index. Initializes a new instance of the class that is empty. Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified object. The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection. Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the default hash code provider and the default comparer. The approximate number of entries that the instance can initially contain. is less than zero. Initializes a new instance of the class that is empty, has the specified initial capacity, and uses the specified object. The approximate number of entries that the object can initially contain. The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection. is less than zero. Adds an entry with the specified key and value into the instance. The key of the entry to add. The key can be null. The value of the entry to add. The value can be null. The collection is read-only. Removes all entries from the instance. The collection is read-only. Gets the value of the entry at the specified index of the instance. An that represents the value of the entry at the specified index. The zero-based index of the value to get. is outside the valid range of indexes for the collection. Gets the value of the first entry with the specified key from the instance. An that represents the value of the first entry with the specified key, if found; otherwise, null. The key of the entry to get. The key can be null. Returns a array that contains all the keys in the instance. A array that contains all the keys in the instance. Returns an array that contains all the values in the instance. An array that contains all the values in the instance. Returns an array of the specified type that contains all the values in the instance. An array of the specified type that contains all the values in the instance. A that represents the type of array to return. is null. is not a valid . Gets the key of the entry at the specified index of the instance. A that represents the key of the entry at the specified index. The zero-based index of the key to get. is outside the valid range of indexes for the collection. Gets a value indicating whether the instance contains entries whose keys are not null. true if the instance contains entries whose keys are not null; otherwise, false. Removes the entries with the specified key from the instance. The key of the entries to remove. The key can be null. The collection is read-only. Removes the entry at the specified index of the instance. The zero-based index of the entry to remove. is outside the valid range of indexes for the collection. The collection is read-only. Sets the value of the entry at the specified index of the instance. The zero-based index of the entry to set. The that represents the new value of the entry to set. The value can be null. The collection is read-only. is outside the valid range of indexes for the collection. Sets the value of the first entry with the specified key in the instance, if found; otherwise, adds an entry with the specified key and value into the instance. The key of the entry to set. The key can be null. The that represents the new value of the entry to set. The value can be null. The collection is read-only. Gets the number of key/value pairs contained in the instance. The number of key/value pairs contained in the instance. Returns an enumerator that iterates through the . An for the instance. Gets or sets a value indicating whether the instance is read-only. true if the instance is read-only; otherwise, false. Gets a instance that contains all the keys in the instance. A instance that contains all the keys in the instance. 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. is multidimensional.-or-The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination . Gets a value indicating whether access to the object is synchronized (thread safe). true if access to the object is synchronized (thread safe); otherwise, false. The default is false. Gets an object that can be used to synchronize access to the object. An object that can be used to synchronize access to the object. Represents a collection of the keys of a collection. Gets the number of keys in the . The number of keys in the . Gets the key at the specified index of the collection. A that contains the key at the specified index of the collection. The zero-based index of the key to get from the collection. is outside the valid range of indexes for the collection. Returns an enumerator that iterates through the . An for the . Gets the entry at the specified index of the collection. The key of the entry at the specified index of the collection. The zero-based index of the entry to locate in the collection. is outside the valid range of indexes for the collection. 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. is multidimensional.-or- The number of elements in the source is greater than the available space from to the end of the destination . 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. The default is false. Gets an object that can be used to synchronize access to the . An object that can be used to synchronize access to the . Represents a collection of associated keys and values that can be accessed either with the key or with the index. Initializes a new instance of the class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer. Initializes a new instance of the class that is empty, has the default initial capacity, and uses the specified object. The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection. Copies the entries from the specified to a new with the same initial capacity as the number of entries copied and using the same hash code provider and the same comparer as the source collection. The to copy to the new instance. is null. Initializes a new instance of the class that is empty, has the specified initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer. The initial number of entries 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 object. The initial number of entries that the object can contain. The object to use to determine whether two keys are equal and to generate hash codes for the keys in the collection. is less than zero. Copies the entries from the specified to a new with the specified initial capacity or the same initial capacity as the number of entries copied, whichever is greater, and using the default case-insensitive hash code provider and the default case-insensitive comparer. The initial number of entries that the can contain. The to copy to the new instance. is less than zero. is null. Copies the entries in the specified to the current . The to copy to the current . The collection is read-only. is null. Adds an entry with the specified name and value to the . The key of the entry to add. The key can be null. The value of the entry to add. The value can be null. The collection is read-only. Gets all the keys in the . A array that contains all the keys of the . Invalidates the cached arrays and removes all entries from the . The collection is read-only. 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. is multidimensional.-or- The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination . Gets the values at the specified index of the combined into one comma-separated list. A that contains a comma-separated list of the values at the specified index of the , if found; otherwise, null. The zero-based index of the entry that contains the values to get from the collection. is outside the valid range of indexes for the collection. Gets the values associated with the specified key from the combined into one comma-separated list. A that contains a comma-separated list of the values associated with the specified key from the , if found; otherwise, null. The key of the entry that contains the values to get. The key can be null. Gets the key at the specified index of the . A that contains the key at the specified index of the , if found; otherwise, null. The zero-based index of the key to get from the collection. is outside the valid range of indexes for the collection. Gets the values at the specified index of the . A array that contains the values at the specified index of the , if found; otherwise, null. The zero-based index of the entry that contains the values to get from the collection. is outside the valid range of indexes for the collection. Gets the values associated with the specified key from the . A array that contains the values associated with the specified key from the , if found; otherwise, null. The key of the entry that contains the values to get. The key can be null. Gets a value indicating whether the contains keys that are not null. true if the contains keys that are not null; otherwise, false. Resets the cached arrays of the collection to null. Gets the entry at the specified index of the . A that contains the comma-separated list of values at the specified index of the collection. The zero-based index of the entry to locate in the collection. is outside the valid range of indexes for the collection. Gets or sets the entry with the specified key in the . A that contains the comma-separated list of values associated with the specified key, if found; otherwise, null. The key of the entry to locate. The key can be null. The collection is read-only and the operation attempts to modify the collection. Removes the entries with the specified key from the instance. The key of the entry to remove. The key can be null. The collection is read-only. Sets the value of an entry in the . The key of the entry to add the new value to. The key can be null. The that represents the new value to add to the specified entry. The value can be null. The collection is read-only. Represents a collection of key/value pairs that are accessible by the key or index. Initializes a new instance of the class. Initializes a new instance of the class using the specified comparer. The to use to determine whether two keys are equal.-or- null to use the default comparer, which is each key's implementation of . Initializes a new instance of the class using the specified initial capacity. The initial number of elements that the collection can contain. Initializes a new instance of the class using the specified initial capacity and comparer. The initial number of elements that the collection can contain. The to use to determine whether two keys are equal.-or- null to use the default comparer, which is each key's implementation of . Adds an entry with the specified key and value into the collection with the lowest available index. The key of the entry to add. The value of the entry to add. This value can be null. The collection is read-only. Returns a read-only copy of the current collection. A read-only copy of the current collection. Removes all elements from the collection. The collection is read-only. Determines whether the collection contains a specific key. true if the collection contains an element with the specified key; otherwise, false. The key to locate in the collection. Copies the elements to a one-dimensional object at the specified index. The one-dimensional object that is the destination of the objects copied from collection. The must have zero-based indexing. The zero-based index in at which copying begins. Gets the number of key/values pairs contained in the collection. The number of key/value pairs contained in the collection. Returns an object that iterates through the collection. An object for the collection. Inserts a new entry into the collection with the specified key and value at the specified index. The zero-based index at which the element should be inserted. The key of the entry to add. The value of the entry to add. The value can be null. is out of range. This collection is read-only. Gets a value indicating whether the collection is read-only. true if the collection is read-only; otherwise, false. The default is false. Gets or sets the value at the specified index. The value of the item at the specified index. The zero-based index of the value to get or set. The property is being set and the collection is read-only. is less than zero.-or- is equal to or greater than . Gets or sets the value with the specified key. The value associated with the specified key. If the specified key is not found, attempting to get it returns null, and attempting to set it creates a new element using the specified key. The key of the value to get or set. The property is being set and the collection is read-only. Gets an object containing the keys in the collection. An object containing the keys in the collection. Removes the entry with the specified key from the collection. The key of the entry to remove. The collection is read-only. is null. Removes the entry at the specified index from the collection. The zero-based index of the entry to remove. The collection is read-only. is less than zero.- or - is equal to or greater than . Gets a value indicating whether access to the object is synchronized (thread-safe). This method always returns false. Gets an object that can be used to synchronize access to the object. An object that can be used to synchronize access to the object. Gets a value indicating whether the has a fixed size. true if the has a fixed size; otherwise, false. The default is false. Returns an object that iterates through the collection. An object for the collection. Gets an object containing the values in the collection. An object containing the values in the collection. Represents a collection of strings. Initializes a new instance of the class. Adds a string to the end of the . The zero-based index at which the new element is inserted. The string to add to the end of the . The value can be null. Copies the elements of a string array to the end of the . An array of strings to add to the end of the . The array itself can not be null but it can contain elements that are null. is null. Removes all the strings from the . Determines whether the specified string is in the . true if is found in the ; otherwise, false. The string to locate in the . The value can be null. Copies the entire values to a one-dimensional array of strings, starting at the specified index of the target array. The one-dimensional array of strings 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 . The type of the source cannot be cast automatically to the type of the destination . Gets the number of strings contained in the . The number of strings contained in the . Returns a that iterates through the . A for the . Searches for the specified string and returns the zero-based index of the first occurrence within the . The zero-based index of the first occurrence of in the , if found; otherwise, -1. The string to locate. The value can be null. Inserts a string into the at the specified index. The zero-based index at which is inserted. The string to insert. The value can be null. is less than zero.-or- greater than . Gets a value indicating whether the is read-only. This property always returns false. Gets a value indicating whether access to the is synchronized (thread safe). 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 entry to get or set. is less than zero.-or- is equal to or greater than . Removes the first occurrence of a specific string from the . The string to remove from the . The value can be null. Removes the string at the specified index of the . The zero-based index of the string to remove. is less than zero.-or- is equal to or greater than . Gets an object that can be used to synchronize access to the . An object that can be used to synchronize access to the . 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. is multidimensional.-or- The number of elements in the source is greater than the available space from to the end of the destination . The type of the source cannot be cast automatically to the type of the destination . Returns a that iterates through the . A for the . Adds an object to the end of the . The index at which the has been added. The to be added to the end of the . The value can be null. The is read-only.-or- The has a fixed size. Determines whether an element is in the . true if is found in the ; otherwise, false. The to locate in the . The value can be null. Searches for the specified 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 to locate in the . The value can be null. Inserts an element into the at the specified index. The zero-based index at which should be inserted. The to insert. The value can be null. is less than zero.-or- is greater than . The is read-only.-or- The has a fixed size. Gets a value indicating whether the object has a fixed size. true if the object has a fixed size; otherwise, false. The default is false. Gets a value indicating whether the object is read-only. true if the object is read-only; otherwise, false. The default is 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 less than zero.-or- is equal to or greater than . Removes the first occurrence of a specific object from the . The to remove from the . The value can be null. The is read-only.-or- The has a fixed size. Implements a hash table with the key and the value strongly typed to be strings rather than objects. Initializes a new instance of the class. Adds an entry with the specified key and value into the . The key of the entry to add. The value of the entry to add. The value can be null. is null. An entry with the same key already exists in the . The is read-only. Removes all entries from the . The is read-only. Determines if the contains a specific key. true if the contains an entry with the specified key; otherwise, false. The key to locate in the . The key is null. Determines if 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. Copies the string dictionary values to a one-dimensional instance at the specified index. The one-dimensional that is the destination of the values copied from the . The index in the array where copying begins. is multidimensional.-or- The number of elements in the is greater than the available space from to the end of . is null. is less than the lower bound of . Gets the number of key/value pairs in the . The number of key/value pairs in the .Retrieving the value of this property is an O(1) operation. Returns an enumerator that iterates through the string dictionary. An that iterates through the string dictionary. Gets a value indicating whether access to the is synchronized (thread safe). true if access to the is synchronized (thread safe); otherwise, false. Gets or sets the value associated with the specified key. The value associated with the specified key. If the specified key is not found, Get returns null, and Set creates a new entry with the specified key. The key whose value to get or set. is null. Gets a collection of keys in the . An that provides the keys in the . Removes the entry with the specified key from the string dictionary. The key of the entry to remove. The key is null. The is read-only. Gets an object that can be used to synchronize access to the . An that can be used to synchronize access to the . Gets a collection of values in the . An that provides the values in the . Supports a simple iteration over a . Gets the current element in the collection. The current element in the collection. The enumerator is positioned before the first element of the collection or after the last element. 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. 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.