C# to VB.NET Code Converter
Asked Answered
M

3

5

I need a C# to VB.NET code converter, and I'm willing to pay. I want something that's ultra convenient, as I want to reduce the amount of copy/paste that I have to do... so could anybody give me some tips to what is out there? I want processing in bulk too, and to support the latest operations (LINQ, new VB inline-function support and all).

Thanks.

Montparnasse answered 29/8, 2010 at 0:51 Comment(5)
Need to explain "reduce the amount of copy/paste that I have to do."Greengage
possible duplicate of Convert these lines from C# to VB.Net?Virtuous
Mine is a different question, not a dup. I want a paid tool to do it in bulk... this was for a single class.Montparnasse
I write articles, I write a lot of C# code, to save me hours upon hours of conversion work. That's why.Montparnasse
Before buying a software try using this link. carlosag.net/Tools/CodeTranslator You can upload your c# files for converting them to vb.net.Villiform
L
5

I have Tangible Software's Instant VB that I use. It seams to work very well. It will do LINQ, Full projects, files and snippets.

http://www.tangiblesoftwaresolutions.com/Product_Details/Instant_VB.html

Laborer answered 30/8, 2010 at 2:42 Comment(0)
P
3

Online:

http://www.developerfusion.com/tools/convert/csharp-to-vb/

Pricecutting answered 29/8, 2010 at 0:52 Comment(2)
I have been using for years with good success. Does not handle LINQ, but that is not too much of a problem.Greengage
Looks like single file only? I need something to do in bulk. Not interested in the free ones. converter.telerik.com has a utility to copy files in bulk, but it doesn't work. It errors on me.Montparnasse
E
0

One roundabout way to go about it is to disassemble an assembly using RedGate's .NET Reflector, and export the VB/C# code.

Reflector can loose some of the code flavor in the conversion/dissassembly, but I've always been able to get it to compile.

I've used several free tools online, but have found their correctness to be spotty at best. The one @Jeremy refers to is fairly decent, but lacks some recent .NET features. Odds are it will meet your needs.

Escape answered 29/8, 2010 at 0:57 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.