HashTable.Remove : HashTable « System.Collections « C# / C Sharp by API






HashTable.Remove

  
using System;
using System.Collections;

class MainClass
{
  static void Main(string[] args)
  {
    Hashtable a = new Hashtable(10);
          
    a.Add(100, "A");
    a.Add(200, "C");
    

    a.Remove(100);
    a.Remove(200);

  }
}

   
    
  








Related examples in the same category

1.HashTable.Keys
2.Hashtable.Add
3.Hashtable.ContainsKey
4.Hashtable.ContainsValue
5.Hashtable.Keys.CopyTo
6.Hashtable.Synchronized
7.Hashtable.Values
8.Hashtable.Values.CopyTo