I just noticed the HashTable objects have a Contains and CotainsKey method, with same description. So are they just synonyms or is there som edifference behind the scenes
I just noticed the HashTable objects have a Contains and CotainsKey method, with same
Share
If you examine the code of Contains with reflector, you can see that it directly call ContainsKey.
The IL is:
This translates to the following C#