Click or drag to resize
GenExtensionsPickValuesT Method (Int32, IEnumerableT)
A generator that picks a given number of elements from a list, randomly.

Namespace: FsCheckUtils
Assembly: FsCheckUtils (in FsCheckUtils.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public static Gen<List<T>> PickValues<T>(
	int n,
	IEnumerable<T> l
)

Parameters

n
Type: SystemInt32
The number of items to pick from the list.
l
Type: System.Collections.GenericIEnumerableT
The list of elements to pick from.

Type Parameters

T
The type of the elements in the list.

Return Value

Type: GenListT
A generator that generates a given number of elements from a list, randomly.
See Also