public static Responsible Populate(string name, string lastname, string phone, string company) { var p = Responsible.Populate <Responsible>(name, lastname); p.Phone = phone; p.Company = company; return(p); }
static void Main(string[] args) { //Responsible responsible = new Responsible() //{ // //I want here to populate with PopulatePerson the base members // Phone = "93827382", // Company = "Google" //}; var responsible = Responsible.Populate("Glenn", "Fake", "93827382", "Google"); //responsible }