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 is asp net theme?

525


How to disable disable browser's Back button in asp.net (JavaScript)?

570


Using code explain Configuration Management

1410


i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?

1515


Why we use asp.net for website development?

501






how to elimainte the similar data from the different tables

1709


Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?

2273


How ASP.NET page works?

678


Explain the significance of routing? : asp.net mvc

542


What is asp net_sessionid?

639


What are the validation controls available in ASP.NET?

545


What New Features comes with ASP.NET Web API 2.0?

545


code for "For every 5days system has to create 1text file with the corresponding date and it has to store in c-drive" by using web applications

1416


Why would a company use an application service provider?

496


What is cached data phone?

532