ImmutableList<T>.Reverse Method (Int32, Int32)

 

Reverses the order of the elements in the specified range of the immutable list.

Namespace:   System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableList<T> Reverse(
	int index,
	int count
)

Parameters

index
Type: System.Int32

The zero-based starting index of the range to reverse.

count
Type: System.Int32

The number of elements in the range to reverse.

Return Value

Type: System.Collections.Immutable.ImmutableList<T>

The reversed list.

Return to top
Show: