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 |
Explain what is mutex?
What are the different types of remote object creation mode in .net?
Explain what inheritance is, and why it's important?
State the differences between the dispose() and finalize().
Garbage collector thread is what kind of a thread?
What is "common language specification" (cls) in .net?
What is interface and abstract class in .net?
What is different between User Control and Web Control and Custom Control?
what is yield keyword in .Net?
What are object pooling and connection pooling and difference?
Difference between user groups and code groups
Explain me what is the difference between a class and an object, and how do these terms relate to each other?