public CellRangeAddress Remove(int rangeIndex){if (_list.Count == 0){throw new Exception("List is empty");}if (rangeIndex < 0 || rangeIndex >= _list.Count){throw new Exception("Range index (" + rangeIndex+ ") is outside allowable range (0.." + (_list.Count - 1) + ")");}CellRangeAddress cra = (CellRangeAddress)_list[rangeIndex];_list.Remove(rangeIndex);return cra;}