Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best C# to VB.net converter? [closed]

While searching the interweb for a solution for my VB.net problems I often find helpful articles on a specific topic, but the code is C#. That is no big problem but it cost some time to convert it to VB manually. There are some sites that offer code converters from C# to VB and vice versa, but to fix all the flaws after the code-conversion is nearly as time-consuming as doing it by myself in the first place.

Till now I am using http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx

Do you know something better?

like image 789
Florian Avatar asked Sep 17 '08 22:09

Florian


People also ask

What version of C is best?

Yes, it's a bit odd that you can get a loud consensus that K&R is a great C book, and also a loud consensus that C99 is the correct/current/best version of C.

What is C language best used for?

The C programming language is the recommended language for creating embedded system drivers and applications. The availability of machine-level hardware APIs, as well as the presence of C compilers, dynamic memory allocation, and deterministic resource consumption, make this language the most popular.

Which is best C++ or C?

Compared to C, C++ has significantly more libraries and functions to use. If you're working with complex software, C++ is a better fit because you have more libraries to rely on. Thinking practically, having knowledge of C++ is often a requirement for a variety of programming roles.


2 Answers

Telerik has a good converter that is based on SharpDevelop that has worked pretty well over the years, though it has not been updated in years (due to it being based on SharpDevelop).

I've recently come across a roslyn based converter as well. I don't know how well it works or how well maintained it is, but as it's open source you can always fork it and update it as needed.

like image 163
Darren Kopp Avatar answered Sep 22 '22 20:09

Darren Kopp


If you cannot find a good converter, you could always compile the c# code and use the dissasembler in Reflector to see Visual Basic code. Some of the variable names will change.

like image 31
Hallgrim Avatar answered Sep 21 '22 20:09

Hallgrim