Table of Contents

Method GetInt16

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

GetInt16(short, short)

Generates a signed 16-bit integer within specified range.

public short GetInt16(short min = 0, short max = 32767)

Parameters

min short

Minimum value to generate. Defaults to 0.

max short

Maximum value to generate. Defaults to MaxValue.

Returns

short

Generated random value.