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 array collection?
Can you inherit multiple abstract classes in c#?
Can we override static class in c#?
Difference between debug.write and trace.write?
3. Use layered architecture for coding. s.no name description 1 abc xxxxxxxxx 2 abc xxxxxxxxx 3 4 5 6 7 8 Select all Clear all Add Delete Name Description Save close
What are the two uses of a ‘using’ statement in c#?
Does c# have functions?
How can I create image pieces/sub image?
Why do we override in c#?
When is a class declared as a class abstract?
Can an interface extend a class c#?
My switch statement works differently! Why?
What does the initial catalog parameter define in the connection string?
Is c# used for frontend or backend?
Can destructors have access modifiers?