Windows form is also creating a console Window.

Mar 13 2004 11:02 AM
I have successfully compiled my program, but when I execute it a console Window is launched in the background aswell as the main form. Why is this happening? Thanks in advance. My code: using System.Windows.Forms; class MyFormExample { class MyForm: Form { } static void Main() { Application.Run(new MyForm()); } }

Answers (2)