Click or drag to resize
RandomCodeGeneratorGetRandomNumber Method
Returns random number from 0 to max (exclusive).

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
protected virtual int GetRandomNumber(
	int max
)

Parameters

max
Type: SystemInt32
Exclusive upper bound of the random number returned.

Return Value

Type: Int32
See Also