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


Please Help Members By Posting Answers For Below Questions

Explain inheritance in c#?

540


What is data type in c# with example?

521


HOW to Develope the CRUD(create,read,update,delete) FORM IN WINDOWS form by using c# only

520


Explain the 3 types of properties in c# with an example?

543


What is the difference between protected and internal in c#?

461






State the top.NET class that everything is derived from?

516


Explain About namespaces

574


What is a method c#?

471


How to rotate an Image in C#?

578


What is property c#?

503


Overloaded constructor will call default constructor internally?

561


What is the meaning of extention?

480


What are the benefits of using windows services:

545


What are the commonly used i/o classes?

528


Can private virtual methods be overridden in c#.net?

522