Hi
i am useing linq query for geting the records for hash table but it is giving error as below
could not find an implementation of the query pattern for source type hashtable
below the my code
Hashtable h1 = new Hashtable();
Program p1 = new Program();
p1.id = 1;
p1.name = "Ram";
p1.address = "GOA";
Program p2 = new Program();
p2.id = 2;
p2.name = "LAXMAN";
p2.address = "America";
Program p3 = new Program();
p3.id = 4;
p3.name = "Kris";
p3.address = "IND";
h1.Add(1, p1);
h1.Add(2, p2);
h1.Add(3, p3);
var item = from k in h1 where k.id > 1 select k.name;
please help me