Hashtable, ArrayList etc.
I use hashtable to store my objects in memory. Now what i am finding out is that there is a convinient .Add() method but no .Get method. Everytime i need my object i have to get the IDictionaryEnumerator by using .GetEnumerator() method and then loop thru to find my object. Samething applies for ArrayList.
Pls. help 'cause the looping code is ugly and i am sure it will effect the performance.
Is there a better way other than looping?? OR a better way to store objects in memory.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

andrewRank #6,347 · 269 reputationPosted Feb 19, 2004, 9:18 AM EST