using System.Collections.Generic;
public String Name {get;set;}
public int Salary {get;set;}
public static void Main()
List<Customer> listcustom = new List<Customer>()
new Customer{Id=120,Name="senthil",Salary=1000},
new Customer{Id=100,Name="arun",Salary=12000}
Func<Customer,String> Selector = employee=>"NAME:"+employee.Name;
IEnumerable<String> names = listcustom.Select(Selector);
foreach(String name in names)