IUserAccessiableCreateRandomArray Method (Int32) |
Returns an integers array with size inSize, containing numbers in the range [1,inSize], in randomized order.
Namespace: SurveyToGo.UserLogic.InterfacesAssembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax int[] CreateRandomArray(
int inSize
)
Parameters
- inSize
- Type: SystemInt32
represents both result array size and the max value of the content range
Return Value
Type:
Int32integers array (int[] type)
Examples
CreateRandomArray(5), will return an array with size of 5 (5 cells); the array's values content are the numbers 1,2,3,4,5, placed in each cell, in randomized order.
See Also