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 do you know about device context?
What is exe in c#?
What is the purpose of private constructor in c#?
How to prevent the error while updating ui control from another thread?
Explain the difference between proc. Sent by val and by sub?
What is a dictionary in c#?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What is the purpose of namespace?
How to generate strong name key file or which command is used to generated strong name key file?
What are logical operators in c#?
Explain the difference between private and shared assembly?
What is instantiating a class?
Differentiate between object pooling and connection pooling in c#?
What are the 2 broad classifications of data types available in c#?
How do you prevent a class from being inherited?