I need a C# to VB.NET code converter, and I'm wi开发者_如何学运维lling 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.
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
Online:
http://www.developerfusion.com/tools/convert/csharp-to-vb/
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.
精彩评论