public String toString() {StringBuilder sb = new StringBuilder();sb.append("[OBJ]\n");for (final SubRecord record : subrecords) {sb.append("SUBRECORD: ").append(record);}sb.append("[/OBJ]\n");return sb.toString();}
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[OBJ]\n");for (int i = 0; i < subrecords.Count; i++){SubRecord record = subrecords[i];sb.Append("SUBRECORD: ").Append(record.ToString());}sb.Append("[/OBJ]\n");return sb.ToString();}