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
Can an array be null c#?
Explain the difference between event and a delegate in c#?
What is arraylist c#?
What is a nested type. Give an example?
What is c-sharp (c#)?
Explain the difference between access specifier and access modifier in c#?
Why do we need constructors?
What are the advantages of using assemble language programming?
Is array immutable in c#?
Explain how to implement an object pool in c#.net
Explain the OOPS concept in C#?
What is the use of readkey in c#?
What are abstract classes in c#?
How do you mark a method obsolete?
Is c# queue thread safe?