public static void Case1() { Console.WriteLine($"************Case 1*********** "); Man x = new Man(); x.Plays(); x.Read(); }
public static void case1() { Console.WriteLine("Case 1:\n"); Man x; //reference variable x = new Man(); x.Plays(); x.Reads(); }
public static void AtParks(Man m) { Console.WriteLine("************At Parks**************"); m.Plays(); }
public static void atThePark(Man m) { Console.WriteLine("At the park"); m.Plays(); }