Public class Person
{
public string name{get;set;} //get this via Model class
;
;
}
public class Employee
{
public Person person{get;set}
}
public class Model:Employee
{
}
Model model=new model();
I need to get the names and values of properties of Person
class via model
class through reflection.How to do it?
Aucun commentaire:
Enregistrer un commentaire