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 protected configuration?
What is the difference between web config and machine config files?
How do you deploy your asp.net application?
What are the security types in asp.net?
Who is using asp.net?
How to use a Master Database in Asp.net?
Diff between web user control and web custom control?
What's the ASP.Net Application life cycle?
How does viewstate work?
What are the features of asp net?
Give an example of cookie abuse.
What is the difference between rest and restful?
In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely
What is the significance of ASP.NET routing?
Explain the Order of events in an asp.net page?