I'm trying to write an application which will be able to take a flag as an argument to allow the user to decide if they would like to run the application with or without a GUI. The solution which I am trying to implement is here, however, in the new Console template in C# you no longer have access to the
static void Main(string[] args)
line, and so I am unsure where to place the [STAThread]
attribute as the user suggested.