2
Reply

Can you store multiple data types in System.Array?

Partap Tanwar

Partap Tanwar

15y
8k
0
Reply

    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();

    No