System.Int16.MinValue Field

Represents the smallest possible value of short. This field is constant.

Value: -32768

Syntax

public const short MinValue

Remarks

The value of this constant is -32768; that is, hexadecimal 0x8000.

The short.MinValue property is typically used to prevent an OverflowException when converting from a numeric type with a greater lower range (such as an int or an long) to an short. The example illustrates this usage.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0