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 difference between Hash Table and Arrays?

Answer Posted / ravi

a) Hash table store data as name,value pair. while in array
only value is store.

b) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index number.

c) you can store different type of data in hash table, say
int,string etc. while in array you can store only similar
type of data.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is querystring in c#?

874


Can struct inherit from class c#?

934


What is console based application?

919


How do you sort an array in c#?

935


What is field in c#?

869


What is the keyword used to prevent a class from being inherited by another class?

1073


What is the use of console readkey in c#?

887


what is boxing and unboxing?can we initialize unboxing directly?

843


What is the difference between add and addrange in c#?

961


what is collections in .net? why we use?

2101


Can we customize the serialization process?

920


You have got 1 million parking slots. At a time a parking slot can be free or not. To get next slot easily which data structure to implement?

1043


When To use HashTable In C#

961


Explain about accessibility modifier 'protected internal'?

965


What is an indexer in c#?

931