Click or drag to resize
IUserAccessiableCreateRandomCyclicArray Method
Returns an integers array with size inSize, containing numbers in the range [1,inSize], in randomized cyclic order.

Namespace: SurveyToGo.UserLogic.Interfaces
Assembly: UserLogicInt.Pocket (in UserLogicInt.Pocket.dll) Version: 1.0.4.0
Syntax
C#
int[] CreateRandomCyclicArray(
	int inSize
)

Parameters

inSize
Type: SystemInt32
represents both result array size and the max value of the content range

Return Value

Type: Int32
integers array (int[] type)
Examples
CreateRandomCyclicArray(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 cyclic order, for example: 4,5,1,2,3
See Also