C# x = New frmFoo(); x.ShowDialog()
VB
Dim x as New frmFoo()
x.ShowDialog()
Pretty much the same. Where I have found differences is in creating custom properties on forms. For example, in VB .Net, I can create a read/write property with 1 line of code in the declarations section of the form class:Public Class Form2 Inherits System.Windows.Forms.Form Public CustomProperty As Form End ClassIt is totally optional whether a private variable is created and accessed through public property Get/Set procedures. During the complilation process, my guess is that C# code is ultimately created. In C#, it would appear you have to do all of this manually. Instead of having a declarations section, you have to use the class constructor.
public class Form2 : System.Windows.Forms.Form { private Form customproperty ; public Form CustomProperty { get { return customproperty; } set { customproperty = value; } } }I suppose there are add-ins to do this for you - but I have not found them yet. IMO, if you write VB code and it ultimately gets compiled to this, you are far better off going this route and use add-ins/builders with the code.