using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
public static void Main()
var sw = new Stopwatch();
var arrayList = new ArrayList();
for (int i = 0; i < 100000; i++)
Console.WriteLine(sw.Elapsed);
var list = new List<int>();
for (int i = 0; i < 100000; i++)
Console.WriteLine(sw.Elapsed);