Create a program to do it. You can fairly easily run through C# and do this
manually.
Public Class MyClass {
Quote:
}
=
Public Class MyClass
End Class
Most of the constructs are similar. You also have to untangle assignments
int intMyInt = 1 becomes Dim intMyInt As Integer = 1, etc.). If you can
find a decompiler for VB.NET (currently one for C#) you can take C# to IL
and decompile.
Now, for the big question: Why? You can inherit the C# classes in VB, so why
rewrite them? Unless this is purely a learning exercise, I see little use in
this.
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
************************************************
Think Outside the Box!
************************************************
Quote:
> Hi,
> How would one go about converting C# code to VB.NET code?