Post

VB.NET gets unsigned types (finally!) :-)

Cameron Beccario talks about some of the additions to the VB.NET language for working with unsigned variable types. This includes new keywords and conversion operators, how they map to CLR types and even how the VB.NET overload resolution will work between signed and unsigned values.

Finally, VB.NET developers can use some of those API calls that have been so problematic in the past when trying to use them with signed values instead of their native unsigned values. Plus, with the addition of the >> and << operators, unsigned is almost a must. ;-) Hopefully the proper amount of thinking will go into how the unsigned values work with And, Or, <<, >>, etc. operations.

This post is licensed under CC BY 4.0 by the author.