Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to bitwise shift in VB.NET?

How do I bitwise shift right/left in VB.NET? Does it even have operators for this, or do I have to use some utility method?

like image 942
Robin Rodricks Avatar asked Sep 13 '09 12:09

Robin Rodricks


People also ask

What does += mean in Visual Basic?

The += operator adds the value on its right to the variable or property on its left, and assigns the result to the variable or property on its left.

What is operator in Visual Basic?

An operator is a code element that performs an operation on one or more code elements that hold values. Value elements include variables, constants, literals, properties, returns from Function and Operator procedures, and expressions.


1 Answers

VB.NET has had bit shift operators (<< and >>) since 2003.

like image 87
mmx Avatar answered Nov 03 '22 22:11

mmx