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...

Can you store multiple data types in System.Array?

Answer Posted / michael

No you can't ArrayList stores object. So if you use something like this
ArrayList arr = new ArrayList();
arr.Add(56);
arr.Add("ASDf");

you are still storing objects, 56 is object, ASDf is an object

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to parse a datetime string?

931


Is .net and c# the same?

991


What do u mean by delegation?

949


Can I get the name of a type at runtime?

989


Why delegates are type safe in c#?

900


What is the difference between hashtable and dictionary?

961


Explain About remoting and web services. Difference between them

961


Does c# do array bounds checking?

990


What is the difference between abstract class and interface in c#?

967


What is form feed and carriage return?

901


What is c# console application?

964


What is default access specifier for class in c#?

1027


What are the boolean data types in c#?

1024


What is the max value of int32 in c#?

927


Is learning c# hard?

931