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

Basically both are used to store the data,but the array is
the collection same object which is accessed by index or
supscript,but in hash table we can store different type
object like a structure but hastable follows two fields,
one is hash key another one is value.The value will be
fetched from hashtable by hash key but sometime hash key
might be string

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need delegates in c#?

910


What is difference between private and static constructor?

868


What is Implicit conversion in C#?

1045


Why we use delegates in c#?

853


Can you instantiate a struct without using a new operator in c#?

896


What's the difference between the debug class and trace class? Documentation looks the same.

1005


What is lock statement in C#?

956


We cannot create instances of static classes. Can we have constructors for static classes?

946


Can a static class contain non static members?

930


Difference between directcast and ctype.

958


What are winforms in c#?

859


Is c# scripting language?

846


What is difference between assembly and dll?

926


What is appdomain in c#?

839


Can you prevent a class from being instantiated?

956