Algorithms..::..RotateInPlace<(Of <(<'T>)>)> Method
Rotates a list or array in place.
Namespace:
Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
Type Parameters
- T
Parameters
- list
- Type: IList<(Of <(<'T>)>)>
The list or array to rotate.
- amountToRotate
- Type: Int32
The number of elements to rotate. This value can be positive or negative. For example, rotating by positive 3 means that list[3] is the first item in the resulting list. Rotating by negative 3 means that list[list.Count - 3] is the first item in the resulting list.