Posted
on May 12, 2011
(permalink)
This was reported back in 2008 and still doesn't work as of May 2011
Strings are concatenated with an Apersan(&) in VB & not a Plus sign (+)
Converting VB to C#, the Apersan is converted to a plus sign,
Converting C# to Vb, the plus sign is NOT converted to an Apersan,
Some simple logic could perform this automatically
c# (Examples)
A = "StringText" + "SomeText";
B = A + "SomeText";
B = "SomeText" + A;
A += "To Text";
VB (Converted - all of these can/will fail in VB, especialiy if text contains numbers)
A = "StringText" + "SomeText"
B = A + "SomeText"
B = "SomeText" + A
A += "To Text"
VB (What's actually required by the converter)
A = "StringText" & "SomeText"
B = A & "SomeText"
B = "SomeText" & A
A &= "To Text"