What is the difference between a Hash Table and a Dictionary?
Answer Posted / hrindows@gmail.com
The main differences are listed below.
Dictionary:
Returns an error if the key does not exist
No boxing and unboxing
Faster than a Hash table
Hashtable:
Returns NULL even if the key does not exist
Requires boxing and unboxing
Slower than a Dictionary
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What's typical about a windows process in regards to memory allocation in .net?
What are the differences between com architecture and.net architecture?
Explain security measures exist for .net remoting in system.runtime.remoting?
What is lambda expressions in c#?
Explain why do we use the “using” statement?
What is the purpose of enumerable class in .net?
Explain the difference between asp.net & vb.net and explain architecture?
When displaying fonts, what is the difference between pixels, points and ems?
Difference between user groups and code groups
I am constantly writing the drawing procedures with system.drawing.graphics, but having to use the try and dispose blocks is too time-consuming with graphicsobjects. Can I automate this?
What is the difference between vb.net and vc#.net?
What's singlecall activation mode used for in .net?
What is 3 tier architecture?
How many types of generations are there in a garbage collector?
What is difference between static page and dynamic page?