MinValue Field

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public const short MinValue

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

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

Show: