what is Difference beetween Array and Hash Table.?

Answer Posted / salman mohammed

1.) arrays can be access from initial position. for example if we want to search 100th element then it will starts from 0 and then it will checks one by one and then it will reaches to 99. So here it is some what reliable but it tooks a lot of time for searching.

2.) Whereas in hash we are having key and value. Based on this we can easily identify the element which we need with in a short period of time than arrays.
So it is much reliable than arrays.

But both are important to us. Because both are having some good properties which helps us in our programming.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain some of the disadvantages due to microsoft.net?

523


What is new in the .net 2.0 class library?

673


Define domestic architecture artifacts? : Dot net architecture

505


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

519


Can I create my own metadata attributes?

512






What is difference between .net and visual studio?

491


can u give me real example of how web.config overrides the machine.config file?

1264


What are the five stages in a dlx pipeline? : Dot net architecture

490


I can't be bothered with cas. Can I turn it off?

503


Explain pipelining? : .NET Architecture

522


Explain about httpruntime.cach.get(); method?

551


How cache is used? : Dot net architecture

476


Difference between type constructor and instance constructor?

518


State and explain about microsoft.net?

504


Can you explain update progress control?

499