Exemple #1
0
 public ImmutableNumber Subtract(ImmutableNumber operand)
 {
     return(new ImmutableNumber(Value - operand.Value));
 }
Exemple #2
0
 public ImmutableNumber Multiply(ImmutableNumber operand)
 {
     return(new ImmutableNumber(Value * operand.Value));
 }
Exemple #3
0
 public ImmutableNumber Add(ImmutableNumber operand)
 {
     return(new ImmutableNumber(Value + operand.Value));
 }