java: public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[MMS]\n");buffer.append("    .addMenu        = ").append(Integer.toHexString(getAddMenuCount())).append("\n");buffer.append("    .delMenu        = ").append(Integer.toHexString(getDelMenuCount())).append("\n");buffer.append("[/MMS]\n");return buffer.toString();}
C#: public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[MMS]\n");buffer.Append("    .addMenu        = ").Append(StringUtil.ToHexString(AddMenuCount)).Append("\n");buffer.Append("    .delMenu        = ").Append(StringUtil.ToHexString(DelMenuCount)).Append("\n");buffer.Append("[/MMS]\n");return buffer.ToString();}