2
Answers

How to use Hashtable

Administrator

Administrator

21y
1.7k
1
I think the Hashtable class is very strange. I can only put things into it but cannot get anything out of it. For example, I want to store information about persons and look up a person's information by his/her name. But all it can do is to find out whether a person's name is in the hashtable. It cannot get the information of the person, unless I check the entries one by one. Is there any way to make the Hashtable class work? Thanks a lot
Answers (2)