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

Can an array be null c#?

934


Explain the difference between event and a delegate in c#?

963


What is arraylist c#?

934


What is a nested type. Give an example?

1024


What is c-sharp (c#)?

943


Explain the difference between access specifier and access modifier in c#?

979


Why do we need constructors?

896


What are the advantages of using assemble language programming?

933


Is array immutable in c#?

873


Explain how to implement an object pool in c#.net

954


Explain the OOPS concept in C#?

965


What is the use of readkey in c#?

978


What are abstract classes in c#?

889


How do you mark a method obsolete?

1001


Is c# queue thread safe?

934