C# Tutorial Hashtable

Add

  1. Add an element with the specified key and value into the Hashtable in CSharp
  1. Check if Hashtable contains a specific key in CSharp
  2. Check if the Hashtable contains a specific key in CSharp
  3. Check if the Hashtable contains a specific value in CSharp

Basic

  1. Check if Hashtable is equal to another in CSharp
  2. Check if the Hashtable has a fixed size in CSharp
  3. Check if the Hashtable is read-only in CSharp
  4. Check if the Hashtable is synchronized (thread safe) in CSharp
  5. Get an object that can be used to synchronize access to the Hashtable in CSharp
  6. Get or set the value associated with the specified key in CSharp
  7. Get the number of key/value pairs contained in the Hashtable in CSharp
  8. Return a synchronized (thread-safe) wrapper for the Hashtable in CSharp
  9. Use IDictionaryEnumerator to loop through a Hashtable in CSharp

Copy

  1. Copy Hashtable to Array instance at the specified index in CSharp

Create

  1. Create Hashtable from dictionary and specified IEqualityComparer object in CSharp
  2. Create Hashtable from dictionary with the specified load factor and IEqualityComparer in CSharp
  3. Create Hashtable from dictionary with the specified load factor in CSharp
  4. Create Hashtable with default initial capacity, load factor, hash code provider, and comparer in CSharp
  5. Create Hashtable with initial capacity and IEqualityComparer in CSharp
  6. Create Hashtable with specified IEqualityComparer in CSharp
  7. Create Hashtable with specified initial capacity in CSharp
  8. Create Hashtable with the initial capacity and load factor in CSharp
  9. Create Hashtable with the specified initial capacity, load factor, and IEqualityComparer in CSharp
  10. Create a Hashtable from a dictionary in CSharp

Convert

  1. Get an ICollection containing the keys in the Hashtable in CSharp
  2. Get an ICollection containing the values in the Hashtable in CSharp
  3. Get an IDictionaryEnumerator that iterates through the Hashtable in CSharp

Remove

  1. Remove all elements from the Hashtable in CSharp
  2. Remove the element with the specified key from the Hashtable in CSharp




















Home »
  C# Tutorial »
    Collections »




ArrayList
BitArray
Collection
Comparer
HashSet
Hashtable
LinkedList
List
ListDictionary
OrderedDictionary
Queue
SortedList
SortedSet
Stack
StringCollection
StringDictionary