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 / raj

yes it is possible.
create an array of objects.

int i = 100;
string s = "hundred";

object [] obj = new object[2];
obj[0] = i;
obj[1] = s;

textbox1.Text = System.Convert.ToInt32(i) + "=" + s.ToString
();

Is This Answer Correct ?    10 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between c and c sharp?

1016


Explain what a diffgram, and a good use for one Define diffgram? How it be used?

1054


Why delegates are required?

1016


What is virtual in c#?

936


Why do we need escape characters?

936


How do I create a dbml file?

1034


Which are the access modifiers available in c#?

1010


How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?

1141


What are managed providers?

1056


what is scope of a protected internal member variable of a c# class

1059


What is inheritance in csharp?

1060


Is array value type in c#?

1080


Can interface inherit class in c#?

1029


Explain about multithreading?

1085


write a c# program add two matrix with input number ?

1006