Пример #1
0
 public override T UnsafeNth(long index)
 {
     if (index >= 0 && index < count)
     {
         return(seq.UnsafeNth(start + index));
     }
     else
     {
         throw new IndexOutOfRangeException();
     }
 }
Пример #2
0
 public override U UnsafeNth(long index) => fn(seq.UnsafeNth(index));