Short Overflow : Short « Data Type « VB.Net Tutorial






Module Module1

    Sub Main()
        Dim Value As Short = 32767
        Value = Value + 1
    End Sub

End Module
Unhandled Exception: System.OverflowException: Arithmetic operation resulted in an overflow.
   at Module1.Main()








2.5.Short
2.5.1.Short Overflow
2.5.2.MinValue and MaxValue of Short