static void Eg2(int month)
{
List<content> obj = new List<content>(){
new content(){ Id=1, name= "Prasad", Date="05/01/2013"} ,
new content(){ Id=2, name= "Ram", Date="01/01/2013"},
new content(){ Id=3, name= "Jay", Date="04/01/2013"},
new content(){ Id=4, name= "Shekar", Date="05/06/2013"}
};
var result = obj.Where(r => Convert.ToDateTime(r.Date).Month == month);
foreach (var item in result)
{
Console.WriteLine(item.Id + "\t" + item.name + "\t" + item.Date);
}
}