Solving the quadratic equation of c#