What is the differnce between Array and Hash Table?

Answers were Sorted based on User's Feedback



What is the differnce between Array and Hash Table?..

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

What is the differnce between Array and Hash Table?..

Answer / mohit jethva

Array can not contain diffrent type of object where in hash table you can store it.

Is This Answer Correct ?    15 Yes 2 No

What is the differnce between Array and Hash Table?..

Answer / ankit,abhishek

array is the collection of similar datatype while hashtable
is collection of different data type.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Does unity require coding?

0 Answers  


Does c# support multiple inheritance (mi)?

0 Answers  


What is ispostback c#?

0 Answers  


Define delegate in c#?

0 Answers  


What is difference between const and static in c#?

0 Answers  






What are the access allowed for compilation units(namespace),class and structs and what are its default access?

1 Answers   TCS,


What does f mean in c#?

0 Answers  


What is ENUM?

10 Answers   TCS, Wipro, YeshTech,


Define acid rule of thumb for transactions in c#.

0 Answers  


What is data hiding in c#?

0 Answers  


How do you use nullable?

0 Answers  


Can you declare a field readonly?

0 Answers  


Categories