If you take an array of object, you can store multiple data type in an array. object[] obj = new object[4]; obj[0]=1; obj[1]="Neeraj"; obj[2]=true; obj[3]=System.DateTime.Now;
Liked By
Write Answer
Can you store multiple data types in System.Array?
Join MindStick Community
You have need login or register for voting of answers or question.
Pushpendra Singh
30-Oct-2010But if you have an object array then you can
Pushpendra Singh
30-Oct-2010type in an array.
object[] obj = new object[4];
obj[0]=1;
obj[1]="Neeraj";
obj[2]=true;
obj[3]=System.DateTime.Now;