imports System.Windows.Forms namespace WinForms public class HelloWorld : inherits System.Windows.Forms.Form public sub New() Text = "Hello World" end sub shared sub Main() Application.Run(new HelloWorld()) end sub end class end namespace