Table of Contents

Method GetUInt16

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

GetUInt16(ushort, ushort)

Generates a unsigned 16-bit integer within specified range.

public ushort GetUInt16(ushort min = 0, ushort max = 65535)

Parameters

min ushort

Minimum value to generate. Defaults to 0.

max ushort

Maximum value to generate. Defaults to MaxValue.

Returns

ushort

Generated random value.