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 are the providers available with VS.NET ?
Explain what is mutex?
Explain code access security.
What is new in .net core?
Please explain what is reflection and what is it for?
What is a garbage collector?
What is gac in .net?
Please explain what are an inheritance, polymorphism, and encapsulation?
what is machine key error in .NET how can we solve it?
What is meant by .Net framework?
What are the authentication methods in .net?
What are the similarities and difference between class and structure in .net?