This is a migrated thread and some comments may be shown as answers.

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

2 Answers 54 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
SUNIL
Top achievements
Rank 2
Iron
SUNIL asked on 07 Dec 2008, 07:52 PM
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?


Thanks

2 Answers, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 18 Dec 2008, 05:52 PM
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.
-Todd

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.

0
john
Top achievements
Rank 1
answered on 11 Jan 2010, 02:58 PM
It still does it...

Tags
Code Converter
Asked by
SUNIL
Top achievements
Rank 2
Iron
Answers by
Todd Anglin
Top achievements
Rank 2
john
Top achievements
Rank 1
Share this question
or