public override Element Clone() { EReal el = new EReal(); el.value = value; return(el); }
public override bool Equals(object obj) { //Check for null and compare run-time types. if ((obj == null) || !this.GetType().Equals(obj.GetType())) { return(false); } else { EReal other = (EReal)obj; return(value == other.value); } }