I have a class points.cs which has members :
  public class Points
    {
        public int Id = 0;
        public string Name { get; set; }
    }
I have a list of these points like this `List<Points> list= new List<Points>();`
Now this list object contains data:
list:
 Id    Name
  1    abc
  2    def
  3    ghi
  4    jkl
What i have to do is to get the Name corresponding to the id number providing in my code using LINQ query from list object.
My try which os obviously wrong is:
 string nameFetchedId=list.Select(Name).Where(obj=>obj.Id=2) //result returned will be "def"
Please correct me, I am not good in LINQ ?