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

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 :)
 
M

Mr. Arnold

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.
 
K

keeling

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top