What is the differnce between Array and Hash Table?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Does unity require coding?
Does c# support multiple inheritance (mi)?
What is ispostback c#?
Define delegate in c#?
What is difference between const and static in c#?
What are the access allowed for compilation units(namespace),class and structs and what are its default access?
What does f mean in c#?
What is ENUM?
10 Answers TCS, Wipro, YeshTech,
Define acid rule of thumb for transactions in c#.
What is data hiding in c#?
How do you use nullable?
Can you declare a field readonly?