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
Explain the difference between and xml documentation tag?
How many bytes is an int in c#?
Can we extend sealed class in c#?
What is the use of main method in c#?
What is the difference between finalize() and dispose()?
What is difference between overloading and short circuiting?
What is the difference between “out” and “ref” parameters in c#?
What is a clr (common language runtime)?
What is data type c#?
What is instantiating a class in c#?
What is the difference between internal and protected in c#?
Explain About remoting and web services. Difference between them
Explain states of a thread in c#?
What is the use of constructor in c# with example?
What is a constructor in c#?