Full description of the file
Download the source and software code to convert Visual Basic code to C# and vice versa
We have prepared the source and software code for converting Visual Basic code to C# and vice versa for you, dear users of the Magical File website.
This is a code converter that uses four different DLL files from around the .NET community. The DLL files I used are FastColoredTextBox.dll, ConversionWrapper.dll, ICSharpCode.NRefactory.dll and rsp.ConVert.dll. I came up with this idea mainly from FastColoredTextBox. Then I discovered VS Addin (CodeConvert), both of which can be found here. I'm using the same DLL that the VS plugin uses. The ICSharpCode.NRefactory DLL can be found on their website. FastColoredTextBox is used for syntax coloring. CodeConvert is referenced and does as it says. The ICSharpCode.NRefactory DLL is included with the CodeConvert.dll file.
rspConVert.dll is a rebuild of Econ.NetVert.Dll from Deniz Ezen. I removed the asp.net part because I couldn't get it to work. I also re-edited some of his code to work with my app. I added Project Conversions and Post fix for project conversion files.
Sample of runtime images
There are many code converters out there, but 99% of them are web-based and 1 or 2 Visual Studio plugins. Plugins, I must say, definitely have an advantage over web-based converters, and probably a slight advantage over this one, but, you don't have to open Visual Studio and you don't have to keep scrolling. Between your application and the Internet, you can open and convert any *.cs or *.vb file, and then save it as a text file or a *.cs, *.vb file using NotePad++ Use it in Visual Studio.
For you, dear user, a download is suggested