public int getIndexOfName(String name) {for (int i = 0; i < _externalNameRecords.length; i++) {if (_externalNameRecords[i].getText().equalsIgnoreCase(name)) {return i;}}return -1;}
public int GetIndexOfName(String name){for (int i = 0; i < _externalNameRecords.Length; i++){if (_externalNameRecords[i].Text.Equals(name, StringComparison.OrdinalIgnoreCase)){return i;}}return -1;}