Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ImmutableList<T>.Sort Method (Int32, Int32, IComparer<T>)

.NET Framework 4.5

Sorts a range of elements in the immutable list using the specified comparer.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)
public ImmutableList<T> Sort(
	int index,
	int count,
	IComparer<T> comparer
)

Parameters

index
Type: System.Int32

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

count
Type: System.Int32

The length of the range to sort.

comparer
Type: System.Collections.Generic.IComparer<T>

The implementation to use when comparing elements, or null to use the default comparer ([T:System.Collections.Generic.Comparer<T>.Default]).

Return Value

Type: System.Collections.Immutable.ImmutableList<T>
The sorted list.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.