What is the difference between a Hash Table and a Dictionary?
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 |
What is a garbage collector?
What is the difference between a namespace and assembly name in .net?
What is the concept of inheritance in .net?
Why inheritance is important?
What is the single responsibility principle?
How does the .NET framework work?
Do you know what is linq?
Explain how to produce an assembly?
What is Application Domain?
What is RPC? What is the use of it?
What is the use of common language runtime?
How to implement getcommon method in class a? Are you seeing any problem in the implementation?