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