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)
In my case (where none of the proposed solutions fit), the problem was I used async/await where the signature for main method looked this way:
static async void Main(string[] args)
I simply removed async so the main method looked this way:
static void Main(string[] args)
I also removed all instances of await and used .Result for async calls, so my console application could compile happily.