David Anton www.tangiblesoftwaresolutions.com Instant C#: VB to C# converter Instant VB: C# to VB converter Instant C++: C# to C++ converter and VB to C++ converter Instant J#: VB to J# converter Clear VB: Cleans up VB.NET code Clear C#: Cleans up C# code
Convert to VB
Singee
uint somevar = 100 ;
converts to
Dim somevar As Uint32 = 100
int x &= ~(int)somevar;
converts to
Dim x as Integer = CType(somevar, Integer)
HTH
JCroney
That's not C# code.
If you meant:
int x = ~(int)somevar;
then the VB version is:
Dim
x As Integer = Not CInt(somevar)If you meant:
x &= ~(int)somevar;
then the VB version is:
x = x And Not CInt(somevar)
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter and VB to C++ converter
Instant J#: VB to J# converter
Clear VB: Cleans up VB.NET code
Clear C#: Cleans up C# code