using System.Diagnostics;
using System.Collections.Generic;
public static void Main()
var values = new List<int>();
for(var index = 0; index < 5000; index++)
var watch = new Stopwatch();
var anyTest = values.Any(item => item > 1000);
var anyCompletion = watch.Elapsed.TotalSeconds;
var allTest = !values.All(item => item <= 1000);
var allCompletion = watch.Elapsed.TotalSeconds;
var anyTest1 = values.Any(item => item > 1000);
var anyCompletion1 = watch.Elapsed.TotalSeconds;
Console.WriteLine("Any: {0} - All: {1} - Any (again): {2}", anyCompletion, allCompletion, anyCompletion1);