This method returns a pseudo-randomly generated integer value in the range [0..n).

Namespace: ILOG.CP
Assembly: oplall (in oplall.dll)

Syntax

C#
public virtual int GetRandomInt(
	int n
)

Parameters

n
Type: System..::..Int32

See Also