Hash Table
Can anyone explain how hash table works in c#
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
ntokozo ngemaPosted Jun 6, 2013, 6:19 AM
Thank you very much.....very appreciated
VulpesPosted Jun 6, 2013, 6:07 AM
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