Wiki

Clone wiki

RogueSharp / RogueSharp.Random / DotNetRandom / Next

DotNetRandomNext Method (Int32)

Gets the next pseudo-random integer between 0 and the specified maxValue inclusive

Namespace: RogueSharp.Random
Assembly:

Syntax

public int Next(
    int maxValue
)

Parameters

maxValue

Type: SystemInt32
Inclusive maximum result

Return Value

Type: Int32
Returns a pseudo-random integer between 0 and the specified maxValue inclusive

Implements

IRandomNext(Int32)

See Also

Reference

DotNetRandom Class
RogueSharp.Random Namespace

[4]: 2014-2016 Faron Bracy

Updated