What is the differnce between Array and Hash Table?

Answer Posted / pramodgupta20

1.Array can store same type of data While Hash Table can
store different type of data.

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

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

Is This Answer Correct ?    70 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between a class and a struct?

579


what is .NET framework architecture ??

1656


What is an event in c#?

584


Explain the process of inheriting a class into another class?

584


Explain about c# language.

688






What is the use of console readline () in c#?

547


What are the concepts of dispose method?

570


What are nested classes in c#?

625


What is difference between throw and throws in c#?

515


Where is the keyword void used?

632


How do you serialize an object?

600


Why do we need generics in c#?

588


what is the Difference between the public and private ?

598


Explain About Iunknown interface Queue

620


Is c# substring zero based?

583