S
Stephane Belzile
Using a CSharp to vb.net converter, I've been stuck on a single line
of code for hours
Original C# code
uint result = dcb.Flags & (mask << whichFlag);
return (int) (result >> whichFlag);
Vb.Net code
Return CInt(Machine.Shift.Right(result, whichFlag))
What is this machine.Shift thing? I understand what it is meant to do
but what namespace do I have to include to make this thing work?
of code for hours
Original C# code
uint result = dcb.Flags & (mask << whichFlag);
return (int) (result >> whichFlag);
Vb.Net code
Return CInt(Machine.Shift.Right(result, whichFlag))
What is this machine.Shift thing? I understand what it is meant to do
but what namespace do I have to include to make this thing work?