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

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

0 Answers  


What is delay signing..??

1 Answers   HCL,


What are the variables in c#?

0 Answers  


Why is it a bad idea to throw your own exceptions?

1 Answers   Visual Soft,


What are satellite assemblies?

0 Answers  


Is multiple inheritance possible in c#?

0 Answers  


How?s method overriding different from overloading?

2 Answers   Visual Soft,


What is the use of giving more than one CATCH BLOCK in one TRY block? Directly we can give that catch(Exception e)?Why we go for arrayoutofbound Exception,divided by zero etc..? Explain

2 Answers  


What is delimiter in c#?

0 Answers  


What is an indexer in c#?

0 Answers  


How more than one version of an assembly can keep in same place?

0 Answers  


How would you describe encapsulation in c#?

0 Answers  


Categories