public ReadOnlySubList(ReadOnlySubList <T> superList, int first, int count) { // Point directly to original list. this.superList = superList.superList; startIdx = superList.startIdx + first; endIdx = superList.startIdx + first + count; }
public ReadOnlySubList(ReadOnlySubList <T> superList) : this(superList, 0, superList.Count) { }