Remove key/value pairs from Hashtable : Hashtable : Data Structure C# Examples


C# Examples » Data Structure » Hashtable »

 

Remove key/value pairs from Hashtable









    
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);

    }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Data Structure
» Hashtable