"Jon B" <no*****@sorry.sorry> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi There!
What is the difference between Signed and UnSigned variables in .NET
Framework?? My background is just in VB6 and I have no idea what is the
difference between ULong and Long etc.
Long is a synonym for System.Int64
http://msdn.microsoft.com/library/de...ClassTopic.asp
ULong is a synonym for System.UInt64
http://msdn.microsoft.com/library/de...ClassTopic.asp
Thes are both binary, or base-2, representations of numbers where each bit
represents binary digit. The difference is that for signed types the bit
which would otherwise store the most-significant digit is instead used to
store the sign, with 0 for positive and 1 for negative.
David