Table of Contents

Method GetInt32

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

GetInt32(int, int)

Generates a signed 32-bit integer within specified range.

public int GetInt32(int min = 0, int max = 2147483647)

Parameters

min int

Minimum value to generate. Defaults to 0.

max int

Maximum value to generate. Defaults to MaxValue.

Returns

int

Generated random value.