示例#1
0
 public bool Equals(Fraction frac) => (frac.Numerator == Numerator && frac.Denominator == Denominator);
示例#2
0
 public Fraction(Fraction fraction) : this(fraction.Numerator, fraction.Denominator)
 {
 }