What is the difference between a Hash Table and a Dictionary?



What is the difference between a Hash Table and a Dictionary?..

Answer / 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

More Dot Net General Interview Questions

The project which you have made, which methodology did you use?

0 Answers   Wipro,


What is clr in .net?

0 Answers  


What is an exe and a dll?

0 Answers  


Explain about Behavioral design pattern?

0 Answers  


explain the states of a window service application?

0 Answers  






What is .net assembly?

0 Answers  


Tell us what is a sealed class?

0 Answers  


How will you register com+ services?

0 Answers  


How do you instantiate a complex number?

0 Answers  


Do you know what is lambda expressions in c#?

0 Answers  


Explain About GDI object ?

0 Answers   TISL,


What is JIT and how is works?

3 Answers  


Categories