public int addExternalName(ExternalNameRecord rec) {ExternalNameRecord[] tmp = new ExternalNameRecord[_externalNameRecords.length + 1];System.arraycopy(_externalNameRecords, 0, tmp, 0, _externalNameRecords.length);tmp[tmp.length - 1] = rec;_externalNameRecords = tmp;return _externalNameRecords.length - 1;}
public int AddExternalName(ExternalNameRecord rec){ExternalNameRecord[] tmp = new ExternalNameRecord[_externalNameRecords.Length + 1];Array.Copy(_externalNameRecords, 0, tmp, 0, _externalNameRecords.Length);tmp[tmp.Length - 1] = rec;_externalNameRecords = tmp;return _externalNameRecords.Length - 1;}