System.Collections.ArrayList.FixedSizeArrayList.GetRange C# (CSharp) Метод

GetRange() публичный Метод

public GetRange ( int index, int count ) : ArrayList
index int
count int
Результат ArrayList
            public override ArrayList GetRange(int index, int count)
            {
                if (index < 0 || count < 0)
                    throw new ArgumentOutOfRangeException(index < 0 ? nameof(index) : nameof(count), SR.ArgumentOutOfRange_NeedNonNegNum);
                if (Count - index < count)
                    throw new ArgumentException(SR.Argument_InvalidOffLen);
                Contract.EndContractBlock();

                return new Range(this, index, count);
            }