Yes you can, if you have an object array. since System.Object is the base class of all other types, an item in an array of Objects can have a reference to any other type of object.
No, we can not store multiple data types in System.Array Reason: System.Array store only similar type of data for example integer type defined array store only int type data. it is type safe.
we use collection object like ArrayList etc for storing multiple type of data
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Reason:
System.Array store only similar type of data for example integer type defined array store only int type data.
it is type safe.
we use collection object like ArrayList etc for storing multiple type of data