using System.Collections;
using System.Collections.Generic;
public static void Main()
var tempList = new List<int> {3,5,6,9,8,10,3,12,7,20,31,56};
Console.WriteLine("Hello World");
var result = tempList.Where(x=>x%2==0).Take(3);
var result = tempList.DeepakWhere(x=>x%2==0).Take(3);
public List<T> DeepakWhere(Func T)