Reputation: 50728
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.
Upvotes: 5
Views: 2533
Reputation: 664
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
Upvotes: 5
Reputation: 25642
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.
Upvotes: 0
Reputation: 6302
Online:
http://www.developerfusion.com/tools/convert/csharp-to-vb/
Upvotes: 3