Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are demand-paging and pre-paging?

997


What is meant by server side scripting?

955


What is viewstate parameter?

941


How ViewstateMac works?

2840


What is application Object?

1039


What is a 307 redirect?

906


Can you change a Master Page dynamically at runtime?

967


What is the difference between web config and machine config files?

1013


What is ispostback property?

915


What is asp.net architecture?

1001


What is the difference between union and join?

1165


What is the web.config file in asp?

1166


Explain the benefits of viewstate?

1033


How does session state work in asp.net?

1028


What is cross page posting? How is it done?

966