I began organizing my code to day into seperarate .cs files, and in order to allow the methods that work with the UI to continue to do so I would create the .cs code under t
If you are like me, then you might have started with a Class Library, and then switched this to a Console Application. If so, change this...
namespace ClassLibrary1 { public class Class1 { } }
To this...
namespace ConsoleApp1 { class Program { static void Main(string[] args) { } } }