I just started to learn the mono winforms environment, and I cannot decide how to start the program from monodevelop without starting a console session.
My simple program works fine, but when it leaves the terminal session, it is always created and waits for me to press any key. I suppose that I could arrange things so that the terminal window closes automatically, but I would prefer the application to just start "initially", is this possible or does the mono and .net function work?
As shown in the examples in Zetcode , in 'Main' the rest of the code begins with 'application.run (new aFunction ()); ', I thought this could be the reason for the terminal session, but replacing it:
myNewClass n = new myNewClass(); n.aFunction();
causes the program to not start at all (or maybe just exit without doing anything).
I am an experienced programmer, but not familiar at all with C # or the mono / .net environment, so the “definition of the obvious” may be all that is required in the answer.
source share