I have the example below, I want to cancel LINQ how to write ?
static void Main()
{
List<int> list = new List<int>();
list.Add(7);
list.Add(11);
list.Add(13);
// See if any elements with values greater than 10 exist.
bool exists = list.Exists(element => element > 10);
Console.WriteLine(exists);
// Check for numbers less than 7.
exists = list.Exists(element => element < 7);
Console.WriteLine(exists);
}