I would like to know if there is a way to create GUI program, with main() function (just like in console app), so I\'m creating all the objects in main() and I can access/ch
A WinForm application starts from main
static void Main() { Application.Run(new Form1()); }
Whatever you want to do in main you can do it here
main