CollectionAlgorithmsReverseT Method |
Reverses the sequences of elements in a collection.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static void Reverse<T>(
IList<T> collection
)
Public Shared Sub Reverse(Of T) (
collection As IList(Of T)
)
public:
generic<typename T>
static void Reverse(
IList<T>^ collection
)
static member Reverse :
collection : IList<'T> -> unit
Parameters
- collection
- Type: System.Collections.GenericIListT
The collection to reverse.
Type Parameters
- T
- The type of the element in the collection to reverse.
See Also