Hash table

  • Thread starter Thread starter john sutor
  • Start date Start date
J

john sutor

Does anyone know why, when you remove an element from a hash table
(hashForm.Remove(ict)), the count does not get reduced?

hashForm.Count
 
John,

The only reason I can imagine this happens is because the key
represented by ict doesn't exist in the hashtable. Can you give a working
example when it does not work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top