Cheating at the Conversion


So, you ve figured out the essentials of reading C# code. But, when you ve got to translate a whole bundle across to VB .NET, or are reading exceptionally long, difficult chunks , it just might be worthwhile being resourceful.

In other words, cheat .

Try surfing down to www.kamalpatel.net, where you ll find the excellent C# to VB .NET Web service. Simply copy and paste your block of C# code into the box at www.kamalpatel.net/ConvertCSharp2VB.aspx, then click the Generate button. Within seconds you ll be shown the VB .NET equivalent. You can even download the full source, so you can convert C# code offline, too.

ASP.NET trainer Dan Wahlin also has his own version available, which will even port entire folders of C# code over to VB .NET. You can check his contribution out at www.aspalliance.com/aldotnet/examples/translate.aspx.

Excellent stuff. Happy cheating!




The Ultimate VB .NET and ASP.NET Code Book
The Ultimate VB .NET and ASP.NET Code Book
ISBN: 1590591062
EAN: 2147483647
Year: 2003
Pages: 76
Authors: Karl Moore

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net