This work nicely
Public Const test As ULong = 1 << 30
This doesn't work nicely
Public Const test As ULong = 1 << 31
It create this error:
Constant expression not representable in type 'ULong'
Anyone know how to make it work?
This does work:
Public Const test As Long = 1 << 31
But I have to use ULong