Rng..::..RandomBetween Method

Returns a random number greater than or equal to min and less than or equal to max

Namespace:  AngbandOS.Core
Assembly:  AngbandOS.Core (in AngbandOS.Core.dll)

Syntax


public int RandomBetween(
	int min,
	int max
)

Parameters

min
Type: Int32
The lower limit (inclusive)
max
Type: Int32
The upper limit (inclusive)

Return Value

A random number