What is the difference between Hash Table and Arrays?
Answer Posted / kanan
Following are some diff.
1) Hash table store data as name,value pair. while in array
only value is store.
2) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index number.
3) you can store different type of data in hash table, say
int,string etc. while in array you can store only similar
type of data.
correct me if i am wrong.
Is This Answer Correct ? | 27 Yes | 3 No |
Post New Answer View All Answers
What is list array in c#?
Explain the difference between and xml documentation tag?
What is the difference between int.parse and int.tryparse methods?
What is difference between il and dll ?
What are c# attributes and its significance?
What is access modifier in c#?
What is the name of c# compiler?
Can we inherit abstract class in c#?
How do you prevent a class from being inherited in c#?
What is datetime parse in c#?
Are c# references the same as c++ references?
What are c# collections?
What is dbml file in c#?
Why we use get and set method in c#?
What is the use of convert toint32 in c#?