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

Do events have return type c#?

510


What is the difference between select and selectmany?

437


What is 8 bit signed integer?

482


Give examples for value types?

491


How do you sort a list in c#?

496






What is type cast in C#?

565


Name which controls do not have events?

553


What is c# and why it is used for?

500


How C# 4.0 supports dynamic programming language?

573


What is the default value of datetime in c#?

494


Explain About DTS package

578


What is difference between out and ref in c#?

533


Explain polymorphism in c# with a simple example?

515


What is wpf application in c#?

465


What you mean by delegate in c#?

498