public int GetPermiter(Rectangle rect) { return SimpleCalculator.Add( SimpleCalculator.Multiply(2, rect.Length), SimpleCalculator.Multiply(2, rect.Width)); }
public int GetArea(Rectangle rect) { return SimpleCalculator.Multiply(rect.Length, rect.Width); }