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
What is xml serialization in c#?
How can it prevents DLL Hell assembly versioning in .NET?
What does it mean?
What is a concrete class in c#?
Is void a class?
Is typeof c#?
Why use “using” in c#?
if we are updating a database using thread, and mean while application crashes or thread being aborted then what will happen in Database? Rollback or Database will be updated? Please explain with different scenario.
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
What is difference between dictionary and hashtable?
Explain the process of abstraction with an example?
How many types of variables are there in c#?
What is the difference between string and stringbuilder in c#?
Is c# good for web development?
what is partial assembly reference