text: public IEvaluationName GetName(String name,int sheetIndex){for (int i = 0; i < _iBook.NumNames; i++){NameRecord nr = _iBook.GetNameRecord(i);if (nr.SheetNumber == sheetIndex + 1 && name.Equals(nr.NameText, StringComparison.OrdinalIgnoreCase)){return new Name(nr, i);}}return sheetIndex == -1 ? null : GetName(name, -1);}