public int getNameIndex(String name) {for (int k = 0; k < names.size(); k++) {String nameName = getNameName(k);if (nameName.equalsIgnoreCase(name)) {return k;}}return -1;}

public int GetNameIndex(String name){int retval = -1;for (int k = 0; k < names.Count; k++){String nameName = GetNameName(k);if (nameName.Equals(name, StringComparison.OrdinalIgnoreCase)){retval = k;break;}}return retval;}
