Element | Description |
---|
Collection Class | Implements a Collection object that manages a set of related objects. |
Collection.Add Method | Adds a member to a Collection object. |
Collection.Count Property | Indicates the number of items stored to a Collection object. |
Collection.Item Property | Retrieves a member from a Collection object based on its key value or ordinal position . |
Collection.Remove Method | Removes the member associated with a given key or ordinal position from a Collection object. |
Hashtable Class | Encapsulates a hashtable collection. |
Hashtable.Add Method | Adds a key-value pair to a Hashtable object. |
Hashtable.ContainsKey Method | Indicates whether a given key exists among the hashtable's items. |
Hashtable.ContainsValue Method | Indicates whether a given value exists among the hashtable's items. |
Hashtable.CopyTo Method | Copies hashtable values into an array of DictionaryEntry structures. |
Hashtable.Item Property | Retrieves the value of a Hashtable item given its key. |
Hashtable.Keys Property | Returns an ICollection object that contains the keys in the hashtable. |
Hashtable.Remove Method | Removes a key/value pair from a Hashtable object. |
Hashtable.Values Property | Returns an ICollection object that contains the values in the hashtable. |
Of Keyword | New in 2005. Enables generics on a type or member definition. |
Queue Class | Encapsulates a queue-style collection. |
Queue.Contains Method | Indicates whether a Queue contains a particular item. |
Queue.CopyTo Method | Copies the Queue items to an array. |
Queue.Dequeue Method | Removes an item from a Queue object. |
Queue.Enqueue Method | Places an item at the end of a Queue. |
Queue.Peek Method | Returns the first item in a Queue. |
Queue.ToArray Method | Copies the Queue items to an array. |
Stack Class | Encapsulated a stack-style collection. |
Stack.Contains Method | Indicates whether a Stack contains a particular item. |
Stack.CopyTo Method | Copies the items in a Stack to an array. |
Stack.Peek Method | Returns the item at the top of a Stack. |
Stack.Pop Method | Removes the topmost item from a Stack. |
Stack.Push Method | Places an item at the top of a Stack. |
Stack.ToArray Method | Copies the items on a Stack to an array. |