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 use of list in c#?
What does console readline do?
What is the difference between static and private constructor?
What is arraylist?
Define an escape sequence, name few strings in escape sequence?
Is lazy thread safe c#?
Can I fly with a loop recorder?
What is the difference between selection and projection?
What is primitive types in c#?
What is ado c#?
What type is string in c#?
What is the difference between an integer and int?
Write the syntax for catching an exception in c#?
Why do we use polymorphism in c#?
What is delegate in c# interview questions?