nitin yadav

nitin yadav

  • NA
  • 136
  • 0

HashTable Storing multiple Values in Single Key

Dec 30 2010 12:28 AM
Hi,

I want to store multiple values in single key and i'm using this logic

Hashtable ht = new Hashtable(); 
int[] intArr = new Integer[2]; 
intArr [0] = 10;
intArr [1] = 11;
ht.Add("1","intArr");

but i don't know how to retrieve or fetch the value from it 
i want something like this
ht[1].intArr[1],ht[1].intArr[2]
Please help me out guys.

Regards
Nitin Yad

Answers (11)