public String toString() {StringBuilder r = new StringBuilder();r.append("Ref["); r.append(getName());r.append('=');r.append(ObjectId.toString(getObjectId()));r.append('(');r.append(updateIndex); r.append(")]"); return r.toString();}
public override string ToString(){StringBuilder r = new StringBuilder();r.Append("Ref[");r.Append(GetName());r.Append('=');r.Append(ObjectId.ToString(GetObjectId()));r.Append(']');return r.ToString();}