string eqn = “x / (x + 5) = 7”;

string[] expString = eqn.Split(’=’);

Expression aleft = MathNet.Symbolics.Infix.ParseOrThrow(expString[0]);

Expression result = Polynomial.TotalDegree(aleft);

the degree of the equation above is 1 but “result” variable get the 2 value ? and Polynomial.Degree(“x”, aleft) returns “undefined” ?

I’m guessing that is like this “x*(x + 5)^-1” but it’s still not right