System.UInt32 + Operator

S

SuperRider

Because MS still thinks of VB.NET as a "toy" language. :(

You can always converto the UInt to an Int64, add to it, and convert it
back.

Operators for unsigned integers is coming in the next .NET release
(Whidbey).
 
H

Herfried K. Wagner [MVP]

* "Simon Jefferies said:
Please can tell me why there is no "+" operator and others for a
System.UInt32 etc.

They will work in the text version, Whidbey. Notice that unsigned
datatypes should not be used in interfaces (I am not referring to an
interface which can be implemented) because, as Armin says, they are not
CLS compliant.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top