コード例 #1
0
ファイル: CalculatorModel.cs プロジェクト: takagotch/rb_ex
 public bool HasHigherPrecidenceThan(Operator other)
 {
     return((Type.Equals("×") || Type.Equals("÷")) &&
            (other.Type.Equals("+") || other.Type.Equals("-")));
 }