2
Answers

Windows form is also creating a console Window.

w.geoghegan

w.geoghegan

20y
1.5k
1
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)