public String toString() {String up = parent!=null ? parent.toString() : "";if ( up.length()==0 ) {if ( returnState == EMPTY_RETURN_STATE ) {return "$";}return String.valueOf(returnState);}return String.valueOf(returnState)+" "+up;}
public override string ToString(){string up = parent != null ? parent.ToString() : "";if (up.Length == 0){if (returnState == EMPTY_RETURN_STATE){return "$";}return returnState.ToString();}return returnState.ToString() + " " + up;}