using System.Diagnostics;
public static void Main()
var lista = Enumerable.Range(0, 50000).Select(indice => Guid.NewGuid()).ToList();
var relogio = new Stopwatch();
for (var indice = 0; indice < lista.Count; indice++)
Console.WriteLine(relogio.Elapsed);
foreach (var item in lista)
Console.WriteLine(relogio.Elapsed);
lista.ForEach((item) => {
Console.WriteLine(relogio.Elapsed);