Lost entries in Hashtable
1 posts in topic
Flat View  Flat View

Posted By:   Anonymous
Posted On:   Thursday, July 11, 2002 02:30 AM

I have created a Hashtable and added a number of entries with differet strings as keys, and not null strings as values. After it, I have realized that some keys have been lost, and that the size of the Hashtable is greater than the number of entries in it.
How this could happen?

Re: Lost entries in Hashtable

Posted By:   Simon_Ablett  
Posted On:   Thursday, July 11, 2002 02:45 AM

Try enumerating through the hashtable looking at all of the entries (key and data) rather than trying to access specific entries using their keys.

About | Sitemap | Contact