Can somebody please show me a site where there is good conversion available from vb.net to c#?
I appreciate your help. Thank you!
Can somebody please show me a site where there is good conversion available from vb.net to c#?
I appreciate your help. Thank you!
http://www.developerfusion.com/tools/convert/vb-to-csharp/
Note that every automated conversion tools do not take advantage of the language intrinsics so if you want a real conversion doing it manually is the only way to get a quality code result.
This is by far the best free tool that I have used. Please note that from my experience none of them are perfect:
Developer Fusion - VB to C# Conversion
I hope this helps.
As a free alternative that converts your entire project at once (including references, resources and file paths), Reflector can do it for you.
Just open your compiled C# assembly (preferably in debug mode to preserve the original structure), choose "visual basic" from the combo box on top, right click the assembly, choose export and let it do the magic for you. You'll get the full compilable vs.net project.
You can use SharpDevelop to convert entire projects, or for snippets and single files use the handy online converter (based on the same converter used in SharpDevelop): http://codeconverter.sharpdevelop.net/SnippetConverter.aspx
Another alternative is to use the code translation tool from carlosag.net. The tool supports translation from VB.NET to C# and from C# to VB.NET along with the ability to colorize the output .
Good luck, and hope this helps some.