what r arraylist?
what the use of Hashtables?

Answer Posted / kautilya

arraylist is a collection of objects of same type. It
implements IList interface. it can grow dynamically, we can
add elements in it at runtime. it should be used when we
dont have information that how many elements will get
stored in it. it also has facility of searching and sorting.


Hashtable is storing data in key-value pair, where key
field will remain unique. Here elements can be searched
using key value. It is serializable.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there a way of specifying which block or loop to break out of when working with nested loops?

540


What do you mean by directing?

484


Why do we use delegates in c#?

517


What do you mean by casting a data type?

540


What is IL / CIL / MSIL?

657






What is action c#?

485


What is difference between a function and a method?

493


How a two-dimensional array declared in C#?

563


Does c# support parameterized properties?

511


What are the advantages of constructor?

451


What is alias in c#?

534


What is polymorphism and its types in c#?

457


What is the namespcae generally given to the webpage of the .NET Framework ?

596


What is gac? How to put assembly in gac?

550


What is mvc firstordefault?

479