Array list can store multiple data type value . Ex ,
System.Collections.ArrayList af = new System.Collections.ArrayList();
af.Add("Test");
af.Add(1);
af.Add(1.3);
Console.WriteLine(Convert.ToDecimal(af[2]));
Console.ReadLine();
Interviews2 answers
Can you store multiple data types in System.Array?
2 Answers
shashikeshPosted Oct 29, 2009, 2:32 AM EDT
No
karthikeyan mPosted Sep 18, 2009, 6:14 AM EDT