June 9th, 2008, 03:16 AM
C# General : How can I convert VB.NET code to C#?
Q: How can I convert VB.NET code to C#?
A: The most proper way would obviously be to try to do it manually. Whenever you do gets stuck on issues such as Casting, for example, browse google for the terms, browse MSDN for answers, browse the C# forums & ask questions on where you get stuck. This, IMHO, is the best way to learn
There are also free online Code Conversion tools available which can translate VB.NET code into C#, and vice versa. Here are 2 of the mosts accurate tools I could find:
Last edited by HanneSThEGreaT; July 28th, 2008 at 03:54 AM.
Click Here to Expand Forum to Full Width