I have an ASP.NET WebForms 4.0 application that I built as a sole developer. I started it in VB/Webforms because that is what I knew at the time.
I have now been doing C#/MVC and desperately want to switch the project over.
I know you can integrate MVC into Webforms (I've done that on another project). However, how can I move from VB to C#? I really don't want to start MVC in VB, so I feel the first thing I need to do is switch the project to VB.
If I want to move to C# slowly over time (part time development, as I add features), how can I go about doing that since it's an application and not a website? As far as I know, the application has to be all VB or C# unlike websites.
This is an online translator for the two programming languages:
From my past experience it works pretty well.
As I mentioned in the comment .
Webforms and MVC are two different technologies just concentrate on that and for vb to c# each part of vb can be converted to C# and there google will help a lot in that
anything in VB can converted to C#, all of them make use of the same framework but vb has inherited some old functions from the vb6 that can be converted to c# look at my answer to that question Using LSET or RSET in ac#-aspx application , what I have done in that is that I used ILSpy and opened Microsoft.VisualBasic dll and looked at the Strings class implementation the ILSpy allow you to view the code in vb or in C#
you can also try this url
This site provides conversion from C# to Vb.Net even you can also convert into Ruby and Python too using this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.