using System.Collections;
namespace DemoApplication
public static void Main()
ArrayList a1 = new ArrayList();
Console.WriteLine("a1 is {0}",a1[0]);
Console.WriteLine("a1 in 1st posistion {0}",a1[1]);
Console.WriteLine("a1 in 1st posistion {0}",a1[2]);