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 can you do with asp.net?
Where would you use an ihttpmodule, and what are the limitations if any?
Write some code using interfaces, virtual methods, and an abstract class`
Explain asp.net mvc request life cycle? : asp.net mvc
What is the usie of activex control in .net?
What are different methods of session maintenance in asp.net?
What are web server controls in asp.net?
What are the different types of proxy patterns?
Define page fragment caching?
What are the main requirements for caching?
Difference between overriding and overloading?
What is asp.net localization?
Explain how can you debug your .net application?
Do I need to have the latest version of windows media player installed?
Are cookies client side or server side?