private static void checkInitialization(Fraction one, Fraction two) { one.checkInitialization(); two.checkInitialization(); }
private static void getCommonDenominatorFraction(Fraction one, Fraction two, out Fraction _one, out Fraction _two) { long denominator = one.Denominator * two.Denominator; _one = new Fraction(one.Numerator * two.Denominator, denominator); _two = new Fraction(two.Numerator * one.Denominator, denominator); }