Int16.MaxValue Field in C# with Examples
The MaxValue field or property of Int16 Struct is used to represent the maximum value of Int16. The value of this field is constant means that the user cannot change the value of this field. The value of this field is 32767. Its hexadecimal value is 0x7FFF. It is used to avoid the OverflowException while converting from a numeric type with a greater upper range (such as a UInt16 or an Int32) to an Int16.
public const short MaxValue = 32767;
Return Value: This field always returns 32767.
Maximum Value is: 32767 Conversion is Possible. Conversion is Possible. Not Possible Not Possible
My Personal Notes arrow_drop_up
Please Login to comment...