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 / sunil kumar

Dictionary is a generic type, Hashtable is not. Now what that
means.You get type safety with Dictionary, because you can't
insert any random object into it, and you don't have to cast
the values you take out.
And also generic collections are a lot faster as there's no
boxing/unboxing
Again Hashtable also have to box/unbox, which may have memory
consumption as well as performance penalties.

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is asp.net and .net are same or different?

1038


How to add DateTime Control in normal DataGrid Server Control?

1147


Where web.config file is used?

1148


What is difference between rest and soap?

1178


What is inproc mode in session?

979


What are the different authentication modes in asp.net?

1064


What is the request flow used for asp.net mvc framework? : asp.net mvc

1034


What are the different types of sessions in asp.net? Name them?

1229


Explain about asp.net caching?

1092


Which validator control you use if you need to make sure the values in two different controls matched?

1108


Where session variables are stored?

1029


Which method do you use to kill explicitly a users session?

1097


What is asp net theme?

1060


What is the use of web.config file?

1056


How many ways are there to maintain a state in .net? What is view state?

1078