Windows form is also creating a console Window.
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());
}
}