It’s often the case that i need (or want) to see how something is done inside VB. However, whenever i start editing in VB i realize how much the language confuses me and how i’m always tripping up over the language. As a tribute to the VB team, the work they’ve done in 2005 to help correct your mistakes is incredibly helpful, however i still run into problems. Luckily, there’s now a service available that will translate C# to VB (or vice versa) on the fly. i.e. as you’re typing in C# the equivalent VB is shown below. Very very helpful for when you’ve forgotten exactly how a certain language construct works in the opposite language. Now all i need is a new version that output to the new managed C++ syntax which i’m always forgetting.
The tool is available here: http://www.carlosag.net/Tools/CodeTranslator/Default.aspx