using System.Collections;
using System.Collections.Generic;
public static void Main()
ArrayList list = new ArrayList(new object[] { "a","a","a","a","a"});
for(int i = 0; i < list.Count; i++)
for(int i = 0; i < list.Count; i++){
Console.WriteLine(list[i]);
for(int i = 0; i < list.Count; i++)
for(int i = 0; i < list.Count; i++){
Console.WriteLine(list[i]);