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
Which technology is best for desktop application?
Can we customize the serialization process?
What is difference between property and variable in c#?
How many destructors can a class have?
How do I open the console window?
How are delegates chosen?
Why would you use a class property in c#?
What is the importance of closing an ado.net application?
What is gac? How to put assembly in gac?
What is dependency injection in simple words?
Explain the difference between // comments, /* */ comments and /// comments?
Give some examples for built in datatypes in c#?
What are the different states of a thread?
What do you mean by abstract class in c#?
What are the uses of namespaces?