Module Example
Public Sub Main()
Dim numbers() As Short = { Int16.MinValue, -1032, 0, 192, Int16.MaxValue }
Dim result As Double
For Each number As Short In numbers
result = Convert.ToDouble(number)
Console.WriteLine("Converted the UInt16 value {0} to {1}.", _
number, result)
Next
End Sub
End Module