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