 // Method that takes an iterable input (possibly an array)
// and returns all even numbers.public static IEnumerable GetEven(IEnumerable numbers)

//using the method to output only even numbers from the array
static void Main()


LINQ, short for Language Integrated Queries, is a .NET Framework feature which simplifies the handling of data.Mainly it adds support that allows you to query arrays, collections, and databases.