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

What is the difference between absolute expiration and sliding-time expiration?

724


Explain cache? : .NET Architecture

716


Can I customise the trace output?

816


Explain Intermediate Language?

818


Waht is Dot net Arcitecture

2122






What are the important principles of soa (service oriented architecture)?

662


What is ILDASM ?

856


What is cookie less session?

746


What is the purpose of cache? How is it used? : Dot net architecture

661


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

647


Explain domestic architecture artifacts? : .NET Architecture

692


Explain .net mobile automatic paging? : Microsoft dot net mobile

664


how to use custom field validation

2224


Why only boxed types can be unboxed?

809


Define pipelining? : Dot net architecture

777