Table of Contents

Method GetInt8

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

GetInt8(sbyte, sbyte)

Generates a signed 8-bit integer within specified range.

public sbyte GetInt8(sbyte min = 0, sbyte max = 127)

Parameters

min sbyte

Minimum value to generate. Defaults to 0.

max sbyte

Maximum value to generate. Defaults to MaxValue.

Returns

sbyte

Generated random value.