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