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