Hash Table
Can anyone explain how hash table works in c#
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jun 6, 2013, 2:07 AM EDT
http://msdn.microsoft.com/en-us/library/system.collections.hashtable.aspx
An important point to note is that all keys and values are stored internally as type System.Object.
This means that value types (int, double, char etc) need to be 'boxed' when they are stored and 'unboxed' (using a cast) when they are retrieved which degrades performance.
The Dictionary
ntokozo ngema3 reputationPosted Jun 6, 2013, 2:19 AM EDT
Thank you very much.....very appreciated