jeudi 24 octobre 2019

Is there a way to select a Property within a List?

class A{
 public List<B> List {get; set;}
}
class B{
 public string Property {get; set;}
}

I would like to write a PropertyExpression simular to this: x => x.List.Property

Is this even possible? And how can this be achieved?





Aucun commentaire:

Enregistrer un commentaire