static void Main(string[] args) { SuperHuman superHuman = new SuperHuman("Super Dude"); superHuman.Powers.Add(new Power("Teleportation", 50)); superHuman.DisplayPowers(); }
static void Main(string[] args) { SuperHuman superHuman = new SuperHuman("Superdude"); superHuman.Powers.Add(new Power("Teleportation", 50)); //Setting up anonymous object superHuman.DisplayPowers(); }