Reverses the sequence of the elements in the specified range of the current instance.
- index
- A int that specifies the zero-based index in the current instance at which reversing starts. This value is between 0 and the ArrayList.Count of the current instance minus count , inclusive.
- count
- A int that specifies the number of elements to reverse. This value is between 0 and the ArrayList.Count of the current instance minus index , inclusive.
Type Reason ArgumentOutOfRangeException index < 0.
-or-
count < 0.
ArgumentException ArrayList.Count of the current instance - index < count. NotSupportedException The current instance is read-only.
Operation
As described above.This method uses Array.Reverse(Array) to modify the ordering of the current instance.
Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0