Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert VB.NET code to C# [closed]

Tags:

c#

vb.net

I have three projects written with VB.NET (2005) and have to convert them to C# code. (I know that i don't need to convert codes of .net languages at all). I have no time to rewrite them, need a tool or script to convert.
Note: they are console applications.

like image 397
sorush-r Avatar asked Nov 23 '25 15:11

sorush-r


2 Answers

Reflector lets you inspect compiled assemblies in several different .Net languages. I've known people to cut and paste the output to convert between languages. Apparently it also has an export feature.

like image 149
Marcelo Cantos Avatar answered Nov 26 '25 04:11

Marcelo Cantos


SharpDevelop can do this, but depending you your vb.net code a lot of manual work will remain.

like image 43
Stefan Egli Avatar answered Nov 26 '25 03:11

Stefan Egli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!