11
Answers

HashTable Storing multiple Values in Single Key

nitin yadav

nitin yadav

14y
7.5k
1
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)