Ejemplo n.º 1
0
 // Note that I had to implement an Equals()
 // method on DoubleNumber for the testing to work
 protected bool Equals(DoubleNumber other)
 {
     return(Value == other.Value);
 }
 // Note that I had to implement an Equals()
 // method on DoubleNumber for the testing to work
 protected bool Equals(DoubleNumber other)
 {
     return Value == other.Value;
 }
Ejemplo n.º 3
0
 public string get_doubled_Value(DoubleNumber number)
 {
     return("The doubled number is " + number.Value);
 }
 public string get_doubled_Value(DoubleNumber number)
 {
     return "The doubled number is " + number.Value;
 }