If I have a list of objects that have a property, how can I extract a list of of all of those properties?
IE given the following object
class C{
public string name{get;set;}
}
and a list of C, how can I get a list of C.Name?
If I have a list of objects that have a property, how can I extract a list of of all of those properties?
IE given the following object
class C{
public string name{get;set;}
}
and a list of C, how can I get a list of C.Name?