public PolynomialMonomialVariableNameException(PolynomialMonomial first, PolynomialMonomial second) : base(GetMessage(first, second)) { }
private static string GetMessage(PolynomialMonomial first, PolynomialMonomial second) { return ($"Polynomials have {first.VariableName} and {second.VariableName} VariableName, but they must be equal"); }