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

For read-only operation which property you have to designated?

1065


Describe the types of comments in c#?

957


What are abstract classes in c#?

966


What are access modifiers in c#?

1044


What is the importance of closing an ado.net application?

947


What is a deadlock lock?

972


Can arraylist hold primitive types?

1105


What is field in c#?

967


What is polymorphism in c sharp?

1045


What happens when thread sleep () method is called?

957


What is difference between string and stringbuffer in c#?

1010


Difference between a sub and a function in c#.

1022


What is a datacontract?

1018


Explain how can you clean up objects holding resources from within the code?

977


What is Delegate and what is it used for ?

1094