public override string ToString() { return("Animal/" + Diet.ToString() + "/" + Size.ToString()); }
public override string ToString() { string s = "Animal: " + n.ToString() + ", " + Diet.ToString() + ", " + Size.ToString(); return(s); }
public override string ToString() { return("Animal/" + Diet.ToString() + "/" + Size.ToString()); }
public override string ToString() { string s = "Animal: " + n.ToString() + ", " + Diet.ToString() + ", " + Size.ToString(); return(s); }