CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    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:

    http://labs.developerfusion.co.uk/co...arp-to-vb.aspx

    http://www.carlosag.net/Tools/CodeTr...r/Default.aspx
    Last edited by HanneSThEGreaT; July 28th, 2008 at 03:54 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured