Unsigned addition in vb.net 2003

ajeeshco

Well-known member
Joined
Sep 19, 2006
Messages
257
Location
Cochin, India
Programming Experience
3-5
Hi all,
I would like to know how to perform an unsigned addition in vb.net 2003.
 
You mean like this?
VB.NET:
        Dim x As UInt32 = 13UI
        Dim y As UInt32 = 16UI
        Dim z As UInt32 = x + y
 
Is unsigned addition possible?

Hi,
The problem is that, in my application I would like to perform an addition of unsigned long numbers and perform a bitwise right shift operation. In vb.net 2005 it is possible and it has data types like ulong etc... But unfortunately I'm developing the application in vb.net 2003 and it does not recognize the ulong data type(System.UInt64) and is showing that + operator is not overloaded for System.UInt64 type. I would like to know whether there is any way to perform unsigned arithmetic operation in vb.net 2003:confused:.
 
Back
Top