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
Can c# inherit multiple classes?
What is polymorphism c# example?
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?
Why we need get set property in c#?
List some of the classes used by system.data namespace?
What is default boolean value in c#?
What is the use of partial methods?
What is static classes?
What is the difference between gettype and typeof in c#?
What is thread life cycle in c#?
What is use of a HashTable in .NET?
What is the difference between static and private constructor in c#?
What are the differences between events and delegates in c#?
What is data annotation in c#?
What is the use of return in c#?