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 / neeraj kumar shrivastwa

If you take an array of object, you can store multiple data
type in an array.
object[] obj = new object[4];
obj[0]=1;
obj[1]="Neeraj";
obj[2]=true;
obj[3]=System.DateTime.Now;

Is This Answer Correct ?    53 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between namespace and class in c#?

907


What is a generic c#?

870


Explain constructor in c#?

1257


What is c-sharp (c#)?

902


What does f mean in c#?

875


What is the difference between mobile application and desktop application?

845


What's the implicit name of the parameter that gets passed into the set method/property of a class?

951


What is difference between first and firstordefault?

876


What is private in c#?

839


What is continue in c#?

935


What is the difference between var and dynamic types in c# 4.0?

947


Define satellite Assembly in .NET?

938


How do you prevent a class from being inherited in c#?

801


Define c# i/o classes? List the commonly used classes?

936


How many types of interface are there in c#?

927