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

When was c# created?

526


What does this keyword mean in c#?

513


What is AutoMapper in C#?

576


What is hashtable c#?

468


Is linkedhashset synchronized?

561






What is class sortedlist underneath?

557


What is the difference between continue and break statement?

510


What is writeline in c#?

488


What is exe file in c#?

480


What are the advantages of interface in c#?

499


What does the parsefloat function do?

482


Can fields inside a class be virtual?

531


Is a games console a computer?

473


What is difference between arraylist and list in c#?

428


Why to use “using” in c#?

549