private static int GetCount(int id , Hashtable ht) { int count = 0; if(ht.ContainsKey(id)) { count = (int)ht[id]; } return count; }