public override Element Clone() { EChar el = new EChar(); 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 { EChar other = (EChar)obj; return(value == other.value); } }