Which collection will you use to store different types of
objects collection like... int, employee, student, object
etc.
Answer Posted / rasik bihari
I would use array list. Every element in an array list is
of object type. Since object class is base class of all the
types in .net or any custom class so it will be possible to
store different types of objects like int,employee(Custom
class), student(custom class), object (base class itself)
into an Array list collection.
Is This Answer Correct ? | 15 Yes | 12 No |
Post New Answer View All Answers
What is keywords in c#?
Give examples for reference types?
What are the Types of caching
What is a framework in c#?
How do you serialize an object?
Is concurrent queue thread safe?
Is array a collection c#?
What is using in c#?
What are cshtml files?
How do you create dlls in .NET
Is it not possible to store a boolean value as a variable?
Which debugging tools you can use in the .NET ssSDK?
What is windows application in c#?
How are Windows programs different from normal C-programs?
Is c# scripting language?