Stopwatch sw = new Stopwatch();
sw.Start();
for (int i = 0; i < 500000; i++)
{
List<string> list = new List<string>();
}
sw.Stop();
Console.WriteLine(sw.Elapsed);
Console.Read();
Stopwatch sw = new Stopwatch();
sw.Start();
for (int i = 0; i < 500000; i++)
{
List<string> list = new List<string>();
}
sw.Stop();
Console.WriteLine(sw.Elapsed);
Console.Read();