Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.3.0)
E80354-01
Randomize the order of the elements within the passed list.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.3000 (12.2.1.3000)

Syntax

C#
public static IList<T> Randomize<T>(
	IList<T> list
)

Parameters

list
Type: System.Collections.Generic..::..IList<(Of <(<'T>)>)>
The list to randomize; the passed list is not altered.

Type Parameters

T
The type of the element.

Return Value

A new and immutable List whose contents are identical to those of the passed list except for the order in which they appear.

See Also