Beispiel #1
0
 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;
 }
Beispiel #2
0
 public ReadOnlySubList(ReadOnlySubList <T> superList)
     : this(superList, 0, superList.Count)
 {
 }