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 / kanan

Following are some diff.

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

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

3) 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.

correct me if i am wrong.

Is This Answer Correct ?    27 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about device context?

880


What is exe in c#?

860


What is the purpose of private constructor in c#?

939


How to prevent the error while updating ui control from another thread?

907


Explain the difference between proc. Sent by val and by sub?

874


What is a dictionary in c#?

840


How can we set the class to be inherited, but prevent the method from being over-ridden?

916


What is the purpose of namespace?

805


How to generate strong name key file or which command is used to generated strong name key file?

893


What are logical operators in c#?

888


Explain the difference between private and shared assembly?

826


What is instantiating a class?

873


Differentiate between object pooling and connection pooling in c#?

930


What are the 2 broad classifications of data types available in c#?

826


How do you prevent a class from being inherited?

864