Can you store multiple data types in System.Array?

Answer Posted / michael

No you can't ArrayList stores object. So if you use something like this
ArrayList arr = new ArrayList();
arr.Add(56);
arr.Add("ASDf");

you are still storing objects, 56 is object, ASDf is an object

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Wht executescaler method is used?

709


What is a float?

651


List some of the basic string operation?

689


What is dto c#?

655


How do I create a delegate/multicastdelegate?

727


How many classes are there in classification?

709


Explain about Threading Types.

815


What is the value which is accepted by all data types ?

734


What is file extension of webservices?

774


What is the difference between delegates and superdelegates?

668


What is the use of 'using' statement in c#?

658


What is executescalar in c#?

626


How do you declare an interface in c#?

646


Is array a list?

648


i want o/p 011242110 in c# code.

1847