Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a dimensional array?

800


Does a loop recorder have to be removed?

982


What is the difference between finally and finalize block?

898


Are tuples immutable c#?

876


Can struct inherit from class c#?

935


What is int32?

857


What do you mean by casting a data type?

900


Explain the process of Serialization?

956


What is the Signification of the "new " keyword in C#? example

897


What do you mean by shared assembly?

1024


Can private virtual methods be overridden in c#.net?

861


Name some properties of thread class.

950


Is stringbuilder faster than string concatenation c#?

876


What does string format do?

835


What is deferred execution?

837