private static void PrintResult(Box box) { Console.WriteLine(box.GetSurfaceArea()); Console.WriteLine(box.GetLateralSurfaceArea()); Console.WriteLine(box.GetVolume()); }