API to convert vb.net to c#.net

Raut, Chirag 26 Reputation points
2022-10-26T06:19:55.487+00:00

Hi,

I am looking for API which will convert vb.net file or project to c#.net file or project.

Developer technologies VB
Developer technologies C#
0 comments No comments
{count} vote

Accepted answer
  1. Olaf Helper 47,436 Reputation points
    2022-10-26T06:31:54.923+00:00

    I don't know a API, but there are several (free) online converter available, for example:
    https://converter.telerik.com/
    https://icsharpcode.github.io/CodeConverter/

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 34,221 Reputation points Microsoft External Staff
    2022-10-27T05:50:27.937+00:00

    Hi @Raut, Chirag ,
    Microsoft does not provide an API convert project from VB.net to C#.net.
    You could turn to some third-party CodeConverter.

    Best Regards.
    Jiachen Li

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.