My MS Visual C# program was compiling and running just fine. I close MS Visual C# to go off and do other things in life.
I reopen it and (before doing anything else)
Check your project's properties. On the "Application" tab, select your Program class as the Startup object:
Program