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 I call a virtual method from a constructor/destructor?
What is the difference between dynamic and var in c#?
What are events in C#?
How to put assembly in gac?
Are enums static c#?
Is array a collection c#?
How will you get the different language strings?
Can we inherit class that contains only one private constructor?
What is the use of tryparse in c#?
What are the concepts of dispose method?
What is the difference between interface and inheritance in c#?
Is the following code legal?
Why do we still see so much non-oo code written in c# today?
What is the differences between datagrid, datalist and repeater in .net?
Define c# i/o classes? List the commonly used classes?