pick
Picks a single random element from the collection.
Return
A randomly selected element.
Parameters
randomGenerator
The random number generator to use. Defaults to a shared instance.
Picks a single random element from the collection.
A randomly selected element.
The random number generator to use. Defaults to a shared instance.