public abstract class Creature { public string Height {get; set;} public string Weight {get; set;} public Creature(); } public class Beast:Creature { public string Species {get; set;} public Beast() { } } public class Human:Creature { public string Name {get; set;} public Human() { } }
propertyGrid1.SelectedObject = creatures[i]
public Creature();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)