public override bool Equals(object obj) { InitialStep step = obj as InitialStep; if (!base.Equals(obj)) { return(false); } else if (step == null) { return(false); } else if (!step._drinkName.Equals(_drinkName)) { return(false); } return(true); }
public override object Clone() { InitialStep step = new InitialStep(_drinkName, _glassName); return(CopyValuesToClone(step)); }