What is the difference between Hash Table and Arrays?
Answer Posted / ravi
a) Hash table store data as name,value pair. while in array
only value is store.
b) to access value from hash table, you need to pass name.
while in array, to access value , you need to pass index number.
c) 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.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between field and variable in c#?
What are examples of desktop applications?
Give an example of removing an element from the queue?
What does console readline do in c#?
How does dependency injection work c#?
What are types in c#?
What is the difference between properties and indexer in c#?
What is a race condition?
Can var be null c#?
How can i Spawn a Thread
Major difference between Basic httpbinding and WShttpbinding?
What is the relationship between a process, application domain, and application?
Define delegate?
Can a struct be null?
What is boolean method?