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
If c# destructors are so different to c++ destructors, why did ms use the same syntax?
Are there functions in c#?
what are windows services?
What is the use of partial methods?
What is the resgen.exe tool used for?
When was c# created?
How does return work in c#?
What are the differences between events and delegates in c#?
What is difference between singleordefault and firstordefault?
How to Install uninstall assemblies into GAC?
Is it possible to execute multiple catch block for a single try statement?
Is array ienumerable c#?
Is datetime nullable c#?
how to sort an array in c#
Who benefits from ajax?