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
shortMinimum value to generate. Defaults to 0.
max
shortMaximum value to generate. Defaults to MaxValue.
Returns
- short
Generated random value.