RandomChooseT Method (IEnumerableT) |
Returns one item from items chosen randomly
Namespace: MlkPwgenAssembly: MlkPwgen (in MlkPwgen.dll) Version: 0.1.0.0
Syntax public virtual T Choose<T>(
IEnumerable<T> items
)
Public Overridable Function Choose(Of T) (
items As IEnumerable(Of T)
) As T
public:
generic<typename T>
virtual T Choose(
IEnumerable<T>^ items
)
abstract Choose :
items : IEnumerable<'T> -> 'T
override Choose :
items : IEnumerable<'T> -> 'T
Parameters
- items
- Type: System.Collections.GenericIEnumerableT
Type Parameters
- T
Return Value
Type:
TSee Also