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

Is xml tags are case sensitive?

831


What's the difference between a method and a procedure?

913


What is the difference between package and interface?

871


Describe ado.net?

972


What is the difference between dispose() and finalize() methods in c#?

882


What is datagridview in c#?

1067


What is an event in c#?

848


What is double c#?

881


What is system console writeline in c#?

942


Explain a MSIL ? Why is it appreciated by all developers?

1054


what class is underneath the sortedlist class?

895


What does protected internal access modifier mean?

1035


Can we inherit a private class in c#?

843


How do you create partial methods?

925


How can you read 3rd line from a text file?

951