Bug in free C# to vb.net converter

csharp , vb.net Akron, United States
  • 13 years ago

    There is a bug in the free C# to vb.net converter at http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx

    If a C# string occupies multiple lines as follows:

    string myNewTable = "CREATE TABLE Designers (Name STRING, Birthdate INT,
                                                                 Nationality STRING)";


    the converter fails saying that "Multiple lines are not allowed in a string". We have to manually edit the C# code to ensure that all the strings are in a single line.

  • 13 years ago
    Thanks for the bug report! I'll see what we can do on that one.

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It works on my machine.” - Anonymous