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

Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?

929


Explain the OOPS concept in C#?

924


what is collections in .net? why we use?

2093


What is xml serialization and deserialization in c#?

908


What is cosole application?

1004


Difference between value and reference type.

872


How long will it take to learn c sharp?

881


What operators can be used to cast from one reference type to another without the risk of throwing an exception?

847


What is console read in c#?

845


What is the difference between string and stringbuilder in c#?

903


Define constructor in c#.

850


Explain how many types of exception handlers are there in .net?

882


What is executereader in c#?

853


What exception can an overridden method throw in comparison with the method it is overriding?

812


Can a static class contain non static members?

929