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

C# is case sensitive, what is mean by case sensitive

3 Answers  


What does a constructor do c#?

0 Answers  


What is dapper in c#?

0 Answers  


Is nullable type c#?

0 Answers  


What is argument in c#?

0 Answers  


What is string pool in c#?

0 Answers  


What is the difference between dispose() and finalize() methods in c#?

0 Answers  


What is the use of command builder?

0 Answers  


Is c# a strongly-typed language?

0 Answers  


How can I check the type of an object at runtime?

0 Answers  


What do you mean by expression tree?

0 Answers  


What are Regex / regular expressions ?

0 Answers   QuestPond,


Categories