2
Vote

Subtraction instead of Addition

description

In BigInteger::Add(BigInteger, BigInteger) an observation whilst reading the code
 
    /// <summary>
    /// Adds two BigIntegers and returns a new BigInteger that represents the sum.
    /// </summary>
    /// <param name="leftSide">A BigInteger</param>
    /// <param name="rightSide">A BigInteger</param>
    /// <returns>The BigInteger result of adding <paramref name="leftSide" /> and <paramref name="rightSide" />.</returns>
    public static BigInteger Add(BigInteger leftSide, BigInteger rightSide)
    {
        return leftSide - rightSide;
    }
 
surely this is to be
                           return leftSide + rightSide;
?

comments