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
Can you pass value types by reference to a method?
In c#, what will happen if you do not explicitly provide a constructor for a class?
What is the boxing and unboxing in c#?
What is iqueryable and ienumerable in c#?
What are concrete classes?
What is the difference between iqueryable and ienumerable?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
Perfect Example Of While And Do-While Loop In C#.Net ?
What is the benefit of interface in c#?
What are tuples c#?
What Is An Interface Class?
What is difference between string and string builder?
What is _layout cshtml?
How do you use nullable?
How big is int16?