using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace ConsoleApplication13
{
class Program
{
static void Main(string[] args)
{
Hashtable ht = new Hashtable();
ht.Add(1,"Honey");
ht.Add(2, "Aman");
ht.Add(3, "Rahul");
ht.Add(4, "Swati");
ht.Add(5, "Kirti");
Console.WriteLine(ht[2].ToString());
foreach (DictionaryEntry de in ht)
{
Console.WriteLine("Key is:"+de.Key.ToString()+"value is:"+de.Value.ToString());
}
Console.ReadLine();
}
}
}