Large amount VB code convert into C.Sharp

  • Thread starter Thread starter ABC
  • Start date Start date
A

ABC

I have a very large amount VB code convert into C Sharp. I just complete it
use tools. But it still have some codes errors. There are object to
datatype problems. I need to edit many files to convert to as like as
int.parse(obj), bool.parse(obj).....

Is there any good methods force C# can accept objects implicitly convert
type object to the specific type without editing all codes.
 
The type to parse is going to be a string...

If you can't find a VB to C# converter use Reflector to read the assembly
created in VB and tell it to show you the output in C#.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
None of the VB to C# converters (including ours) does extensive type
inference for variables declared as Object. The only tool I'm aware of that
might be of help to you is the VB Companion tool produced by Artinsoft (they
also make the VB6 Upgrade Wizard for Microsoft).
http://www.artinsoft.com/pr_vbcompanion.aspx

--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up outdated VB.NET code
 
Back
Top