Hi
I have
public class MyClassA { public string ThisProperty {get;set;} public IList<string> GetAllPropertiesFromDerivedClass() { //needs to return One,Two and Three //This will be different if the derived cass is different } } public class MyClassB : MyClassA { public string One {get;set;} public string Two {get;set;} public string Three {get;set;} }
I know i could create an abstract method or virtual method and override it to hard code it (which is what i am doing at the moment), but can i do it dynamically
Any thoughts would be appriciated