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 the extension of master page in asp.net?
How to find last error which occurred in Asp.net ?
Explain about solution explorer window?
How should I destroy my objects in asp.net?
What is the difference between the asp and asp.net?
Web API uses which library for JSON serialization?
Explain how can you debug your .net application?
What are cookies in your browser?
If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.
Why the javascript validation not run on the asp.net button but run successfully on the html button?
what are the security certificates used in webservices?
Explain the steps to be followed to use passport authentication.
Explain server control extensibility with reference to asp.net 2.0 ?
What is slidemaster?
What is the difference between mechine.config and web.config?