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
Explain the difference between constants and read-only variables?
What is connection pooling and how do you make your application use it?
Explain the main components in .net?
Explain different types of html, web and server controls.
What are the differences between com architecture and.net architecture?
What are asp.net authentication providers and iis security?
Is .net a programming language?
What is difference between system.string and system.stringbuilder classes?
What is lambda expressions in c#?
What is the advantage of packaging over xcopy in .net?
Write the .net syntax for 'while loop'?
What is different between webusercontrol and in webcustomcontrol?
What is manifest in .net?
What operating systems does the .net framework run on?
Explain the difference between public and static modifiers?