what is Difference beetween Array and Hash Table.?
Answer Posted / pkl
An ArrayList behaves just like
an array, except that it will dynamically expand and
contract when you
add/remove elements to it. A HashTable is useful when you
want to
lookup objects indexed by a 'key' value. It also dynamically
expands and contracts but doesn't impose an order on the
elements like
an array does. Put a different way: you index elements in an
ArrayList with a numeric index, you index elements in a
HashTable with
a key. Such a key is often a string.
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
how to change the title of my window?
Why am I getting an invalidoperationexception when I serialize an arraylist?
What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?
Explain the difference between l1 and l2 cache? : Dot net architecture
how to add list of items in a web application and win application?
Explain difference between machine config vs. Web config : Dot net architecture
What is cache coherency? : Dot net architecture
Define pipelining? : Dot net architecture
Explain a .net mobile example with details? : Microsoft dot net mobile
I want to create a project like google maps how can we do that with atlas?
Explain the difference between primary & secondary storage device? : .NET Architecture
Explain the Lapsed Listener problem in .net
how to change the application name?
What are the options provived by vss to the user? how it will help us while delevoping application?
What is the purpose of hard disk? : Dot net architecture