I created a windows form solution and in the constructor of a class I called
Console.WriteLine(\"constructer called\")
But I only got the form
In project settings set application type as Console. Then you will get console window and Windows form.