Click or drag to resize
EnumerableExtensionMethodsRandomSelect Method
Overload List
  NameDescription
Public methodStatic memberRandomSelectT(IEnumerableT)
Selects a random item from the specified enumerable.
Public methodStatic memberRandomSelectT(IEnumerableT, Int32)
Selects the specified number of random items from the specified enumerable. If the number of items in the enumerable is smaller than the specified number of selections, the enumerable itself is returned.
Public methodStatic memberRandomSelectT(IEnumerableT, Int32, ActionT)
Executes the specified action for the specified number of random items from the specified enumerable.
Top
See Also