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

What is marshalling in c#?

475


Explain About multi level and multiple inheritance how to achieve in .net

571


What is the difference between ienumerable and enumerable?

450


What is entity framework c#?

455


What is a datacontract?

480






What is expression c#?

498


How to reduce image resolution in C#?

627


Explain the types of assemblies in .net?

529


What is hashtable in c# with example?

495


Hi to all..I have to create an intranet application on C#.NET windows Application so please please let can you people help me as iam new in .NET and if u have any samples or website address from where i can get sample please let know.

3800


What does string intern do?

485


Why is it called c sharp?

513


Which is better python or c#?

458


What method is used to sort the elements of the array in descending order?

566


what is the difference between .dll and .exe

528