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 int be negative c#?
What is a int in c#?
Is c# scripting language?
What do you mean by expression tree?
Is string passed by reference in c#?
What is “using” statement in c#?
What are strings in c#?
What is iqueryable in linq?
How big is a float?
What Happens In Memory When You Box And Unbox A Value-type?
What is a Assembly?
What is the advantage of static class in c#?
What are the Types of values mode can hold session state in web.config
How is exception handling implemented in c#?
Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?