Tables(0) in VB.Net gets converted to Tables(0) in C#

3 posts, 0 answers
  1. Sunil
    Sunil avatar
    224 posts
    Member since:
    Jan 2004

    Posted 07 Dec 2008 Link to this post

    I think there is a problem with following conversion from VB.Net to C#: Tables(0).
    The result should be Tables[0] but the convertor outputs Tables(0). This is a mistake in my view.

    Anyone has a quick fix for this?

  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 18 Dec 2008 Link to this post

    Hey Sunil-

    Thanks for reporting the issue. I upgraded the Code Converter today to the latest version of NRefactory (the engine we use for our conversions). Can you retest your conversion and see what happens? If the results are still not what you expect, try posting a message in the SharpDevelop community forums since those are the guys actively developing the refactorign engine. If they improve their support for this scenario, we'll definitely upgrade our site, too.

    Hope that helps.

    P.S. The Converter is running very slow today due to some network backbone issues at the data center hosting the site. The problem is being actively addressed, so if things are too slow right now, check back in a few hours and they should have everything back to normal.

  3. john
    john avatar
    6 posts
    Member since:
    Apr 2009

    Posted 11 Jan 2010 Link to this post

    It still does it...

Back to Top