Fast way for converting code from VB.NET to C# in VS 2008.

  • Thread starter Thread starter Mr. X.
  • Start date Start date
M

Mr. X.

Hello.
I have VS 2008.
Is there any fast way for converting code from VB.NET to C# in VS-2008 ?

Thanks :)
 
Mr. X. said:
Hello.
I have VS 2008.
Is there any fast way for converting code from VB.NET to C# in VS-2008 ?

Thanks :)

There are internet/Web sites 3rd party tools (free) that will do it, a
cut and paste operation.
 
Google can find you tools to do the conversion.  I have found that given
how similar the structure of the code is in either language, it's not
really that hard to just copy VB.NET code into a C# source file and then
go through and fix all the errors that are displayed.  You can even use
search-and-replace to fix a lot of the stuff.

Pete

I don't know about fast, but Reflector will do it for you from a
compiled assembly: http://www.red-gate.com/products/reflector/
 
Back
Top