Reverse(Int32,Int32) Method
Reverses the order of the elements in the specified range.
Syntax
Parameters
- index
- The zero-based starting index of the range to reverse.
- count
- The number of elements in the range to reverse.
Exceptions
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | index is less than zero.-or- count is less than zero. |
System.ArgumentException | index and count do not denote a valid range of elements in the System.Collections.ArrayList. |
System.NotSupportedException | The System.Collections.ArrayList is read-only. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also