static void Main(string[] args) { person p2 = new person("Cecil", "C"); person p3 = new person("Donald", "Donny"); person s2 = new superhero("Tony Stark", "", "Iron Man", "Intelligence"); person s3 = new superhero("Peter Park", "", "Spider Man", "Spider Powers"); person v2 = new villian("Venom", "", "Spider Man"); person v3 = new villian("Thanos", "", "Avengers"); List <person> allperson = new List <person>(); }
public new void printgreeting() { superhero s1 = new superhero("Wade Turner", "", "Mr. Incredible", "Super Strength"); Console.WriteLine("I am {0}. When I am {1}, my super power is {2}!", s1.name, s1.realname, s1.superpower); }