Module Example
Public Sub Main()
Dim value As Integer
value = &h2045e
Console.WriteLine(value.ToString("x"))
Console.WriteLine(value.ToString("X"))
Console.WriteLine(value.ToString("X8"))
value = 123456789
Console.WriteLine(value.ToString("X"))
Console.WriteLine(value.ToString("X2"))
End Sub
End Module