In a Hashtable, why doesn’t setting the value for an existing key to be null remove the key from the Hashtable

Platform: WinForms| Category: Tips

This is by design. You have to use Remove to actually remove the Key/Value pair from the Hashtable.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.