ChooseOne Method (Int32[])

Project Mercury API

[This is preliminary documentation and is subject to change.]

Chooses a random item from the specified parameters and returns it.

Namespace:  ProjectMercury
Assembly:  ProjectMercury (in ProjectMercury.dll) Version: 3.1.0.0

Syntax

C#
public static int ChooseOne(
	params int[] values
)
Visual Basic (Declaration)
Public Shared Function ChooseOne ( _
	ParamArray values As Integer() _
) As Integer
Visual C++
public:
static int ChooseOne(
	... array<int>^ values
)

Parameters

values
Type: array< System..::.Int32 >[]()[]

[Missing <param name="values"/> documentation for "M:ProjectMercury.RandomHelper.ChooseOne(System.Int32[])"]

Return Value

[Missing <returns> documentation for "M:ProjectMercury.RandomHelper.ChooseOne(System.Int32[])"]

See Also