Convert VB.NET to C# and Vice Versa

March 24th, 2007

Have a mix of VB.NET and C# applications in your environment? Has someone decided to make one the standard for all applications going forward? Well, you are in luck. Today Code Converter was announced on TelerikWatch. This service brings the power of NRefactory to a web interface with the goal of making it available to all of those popular mini web applications like Yahoo! Widgets, Windows Sidebar and Google Desktop. This tool should make your work of migrating the code much easier.

[ Code Converter ]

Another way to convert code is to make use of Reflector for .NET which will disassemble any .NET assemblies and display the code in the language of your choice. I find this to be very useful when I know how a bit of code is done in one language but forget how it is done with another, such as casting types or attaching event handlers.

Comments are closed.