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?

Answers were Sorted based on User's Feedback



Can you store multiple data types in System.Array?..

Answer / lalit

We can store multiple data types in an ArrayList but not in
a System.Array.

Is This Answer Correct ?    12 Yes 0 No

Can you store multiple data types in System.Array?..

Answer / guest

No

Is This Answer Correct ?    9 Yes 3 No

Can you store multiple data types in System.Array?..

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

Can you store multiple data types in System.Array?..

Answer / rakesh

Storing multiple data types in System.Array is not
possible,if u want to store multiple data type means use
ArrayList.It is auto expandable too

Is This Answer Correct ?    6 Yes 2 No

Can you store multiple data types in System.Array?..

Answer / ramu

If you want to store multiple data types use Hashtable.
In array you cannot store multiple data types.

Is This Answer Correct ?    3 Yes 1 No

Can you store multiple data types in System.Array?..

Answer / mukkamalla prasastha

No It is not at all possible

Is This Answer Correct ?    2 Yes 3 No

Can you store multiple data types in System.Array?..

Answer / sam

yes we can store multiple data type in system.Arry but the problem is when we retrieve the data then...

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More C Sharp Interview Questions

Enlist the different types of classes in c#?

0 Answers  


Can firstordefault return null?

0 Answers  


Is boxing an implicit conversion?

0 Answers  


what is class libraries?

1 Answers  


When should you use generics?

0 Answers  


Is c sharp open source?

0 Answers  


When you inherit a protected class-level variable, who is it available to?

4 Answers   Visual Soft,


What is the difference between malloc () and new?

0 Answers  


When can a derived class override a base class member?

0 Answers  


What is CLR and its application.?

0 Answers   MCN Solutions,


Hello! How to do this: "Create manifest utility intended for creating update content files. Application should take a set of files as input parameter and generate XML based manifest file as output one." I use C# and vs.net 2003. It's urgent! Help please, thanks. Mayana

0 Answers  


Is goto statement supported in C#? How about Java?

2 Answers  


Categories