static void MakeShapeHollow(Shape s) { if (s.Area() > s.Perimeter()) { s.MakeHollow(); } }
private static void Calculate(Shape shape) { shape.Area(); shape.Perimeter(); Console.WriteLine(); }