Exemplo n.º 1
0
        public static void DisplayShape()
        {
            var s = new Shape();
             var r = new Rectangle();

             ShapeShifter(r);
        }
Exemplo n.º 2
0
 public static void ShapeShifter(Shape s)
 {
     Console.WriteLine(s);
 }