I have a variable of type List<Detail>
public class Detail {
public string L { get; set; }
public string R { get; set; }
}
I also have the value of a string that matches the value in Detail.L.
Is there an easy way that I can get the value of Detail.R that matches this?