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

What is clr in .net?

0 Answers  


What are the benefits of Model-View-Controller Architecture?

1 Answers  


why do you want to join deloitte, where do you exactly fit in.

1 Answers   Deloitte,


Explain attributes in dot net?

0 Answers  


What are the new features of Framework 1.1 ?

1 Answers  






Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component

1 Answers   Siebel Systems,


Difference between user groups and code groups

0 Answers  


What is .net core used for?

0 Answers  


What is the procedure to add assemly to gac to make it shared one?

0 Answers  


What is the advantage of .net core?

0 Answers  


What is MSIL code ?

3 Answers   TCS,


How do you turn off cookies for one page in your site?

3 Answers   Siebel Systems,


Categories