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

Are tuples immutable c#?

930


What is a Managed Code??

1036


What is interface c#?

879


Why do we need encapsulation in c#?

965


What is the use of console application in c#?

928


Can constructor be protected?

907


What is enumerable in c#?

892


What are the features of c#?

936


Explain how can I get around scope problems in a try/catch?

915


What do you mean by saying a "struct is a value type"?

923


What is the difference between an implicit conversion and an explicit conversion?

990


What is method overriding in c#

1101


Is xml tags are case sensitive?

894


What is difference between list and ilist in c#?

935


What are static and dynamic variables?

1164