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
Is a games console a computer?
What are the 3 elements of delegation?
What do you mean by saying a "struct is a value type"?
What is datetime parse in c#?
What type is string in c#?
Can you pass value types by reference to a method?
What is difference between constants and readonly in c#?
Difference between abstract classes and interfaces
What is expression c#?
Is dll a library?
What is the use of functional interface?
What is callback delegate in c#?
What is use of FormBoarderStyle Propertie
Can a class be protected in c#?
What is expression tree with example?