IntRange.RandomInclusive

Method in IntRange

Declaration

public int RandomInclusive()

Description

Returns a random value in the range [inclusive, inclusive].

Returns

intA random value in the range [inclusive, inclusive].

Overload

Declaration

public int RandomInclusive(Random seed)

Description

Returns a random value in the range [inclusive, inclusive] using the provided seed.

Parameters

seed

Returns

intA random value in the range [inclusive, inclusive].