intInc(int x){Console.WriteLine("Inc: "+ x);return x +1;}voidMain(){var numbers =Enumerable.Range(0,10);var query = (from number in numberslet number2 =Inc(number)where number2 %2==0select number2).Take(2);foreach (var number in query)Console.WriteLine("Number: "+ number);}