What is the difference between Hash Table and Arrays?
Answer Posted / navin chandra pandit
Hash table & Arrays both are collection but the main diff. is
that- Hash Table follows hashing technique, means it has two
parts-one is hash code while second is value corresponds to
the hash code. To access a value from hash table, we use the
hash code. While array has only value part. To access a
value from array, we use index no. generally.
| Is This Answer Correct ? | 42 Yes | 4 No |
Post New Answer View All Answers
What is int32?
What is a static property. Give an example?
What are the differences between static, public and void in c#?
What is join in c#?
Why we use methods in c#?
What is boolean conditions in c#?
What is encapsulation in csharp?
What is the c# equivalent of c++ catch (...), Which was a catch-all statement for any possible exception?
What are the different types of classes?
What is assembly and dll in c#?
What is value c#?
What is parseexact c#?
What are modifiers in c#?
What is uint64?
What is difference between class and abstract class in c#?