ASP2ASPX can migrate from the VBScript Operators to C# automatically.
Please see following table that lists the VBScript and C# Operators:
VBScript 5.6 Operators | C# |
^ | Math.Pow |
* | * |
/ | / |
\ | / |
Mod | % |
+ | + |
- | - |
& or (+) | + |
< | < |
<= | <= |
> | > |
>= | >= |
<> | <> |
= | == |
Is | Object.Equals |
And | && (or &) |
Not | ! (or ~) |
Or | || (or |) |
Xor | ^ |
A Imp B | (~ A) | B |
A Eqv B | ~ ( A ^ B) |