예제 #1
0
        public static void Case1()
        {
            Console.WriteLine($"************Case 1*********** ");
            Man x = new Man();

            x.Plays();
            x.Read();
        }
예제 #2
0
        public static void case1()
        {
            Console.WriteLine("Case 1:\n");
            Man x;            //reference variable

            x = new Man();
            x.Plays();
            x.Reads();
        }
예제 #3
0
 public static void AtParks(Man m)
 {
     Console.WriteLine("************At Parks**************");
     m.Plays();
 }
예제 #4
0
 public static void atThePark(Man m)
 {
     Console.WriteLine("At the park");
     m.Plays();
 }