What is the main difference between hash table and Dictionary?
Answer Posted / lakshmi maddala
Dictionary and Hash table are collection of data structure to hold data as key/value pairs.
Dictionary is generic type, hash table is not
We can't use dictionary with web services.
In .NET hash table is thread safe for use by multiple reader thread and a single writing thread, while in dictionary public static members are thread safe, but any instance members are not guaranteed to be thread safe.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
What is windows active directory authentication?
What is the use of dispose method?
How long should a session id be?
How can we create pie chart in asp.net?
What is the function of new view engine in asp.net? : asp.net mvc
Explain different types of Caching techniques in ASP.NET?
Why session management is required?
Web API uses which library for JSON serialization?
How can you handle unmanaged code exceptions in asp.net?
How can you register a custom server control to a web page?
Explain the difference between dataset and datareader.
How to change Master page in ASP.Net using code?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
Explain about asp.net state management?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?