B
BCM
How do you reset a value for an existing key in a hashtable? I need to
create a collection and compare the values with another collection: when
certain parameters are met then I need to reset the value of certain
elelments in the first collection.
I would have thought that the Hashtable.Item property would do the
trick, as MSDN defines it as "Gets or sets the value associated with the
specified key". But the actual documentation is so obtuse it's just silly:
http://msdn.microsoft.com/library/d...fsystemcollectionshashtableclassitemtopic.asp
Thanks in advance.
create a collection and compare the values with another collection: when
certain parameters are met then I need to reset the value of certain
elelments in the first collection.
I would have thought that the Hashtable.Item property would do the
trick, as MSDN defines it as "Gets or sets the value associated with the
specified key". But the actual documentation is so obtuse it's just silly:
http://msdn.microsoft.com/library/d...fsystemcollectionshashtableclassitemtopic.asp
Thanks in advance.