// 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; }
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; }