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 do you mean by winforms in c#?
What is written in c#?
in the nunit test framework, which attribute must adorn a test class in order for it to be picked up by the nunit gui?
What is a sealed class?
What's the c# syntax to catch any possible exception?
What is expandoobject in c#?
Explain the difference between passing parameters by value and passing parameters by reference with an example?
What is the use of list in c#?
What is the use of ispostback in c#?
Why do we need interface in c#?
What is msil, and why should developers need an appreciation of it if at all?
What is binary search tree in data structure?
What is variable in c#?
What is difference between yielding and sleeping?
List down the differences between public, static and void keywords?