java: public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[SXVDEX]\n");buffer.append("    .grbit1 =").append(HexDump.intToHex(_grbit1)).append("\n");buffer.append("    .grbit2 =").append(HexDump.byteToHex(_grbit2)).append("\n");buffer.append("    .citmShow =").append(HexDump.byteToHex(_citmShow)).append("\n");buffer.append("    .isxdiSort =").append(HexDump.shortToHex(_isxdiSort)).append("\n");buffer.append("    .isxdiShow =").append(HexDump.shortToHex(_isxdiShow)).append("\n");buffer.append("    .subtotalName =").append(_subtotalName).append("\n");buffer.append("[/SXVDEX]\n");return buffer.toString();}
C#: public override string ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SXVDEX]\n");buffer.Append("    .grbit1 =").Append(HexDump.IntToHex(grbit1)).Append("\n");buffer.Append("    .grbit2 =").Append(HexDump.ByteToHex(grbit2)).Append("\n");buffer.Append("    .citmShow =").Append(HexDump.ByteToHex(citmShow)).Append("\n");buffer.Append("    .isxdiSort =").Append(HexDump.ShortToHex(isxdiSort)).Append("\n");buffer.Append("    .isxdiShow =").Append(HexDump.ShortToHex(isxdiShow)).Append("\n");buffer.Append("    .subName =").Append(subName).Append("\n");buffer.Append("[/SXVDEX]\n");return buffer.ToString();}