private static void Main(string[] args) { var govern = new Govern(); string inputFileName; string outputFileName; if (args == null || args.Length == 0) { inputFileName = "govern.in"; outputFileName = "govern.out"; } else if (args.Length == 2) { inputFileName = args[0]; outputFileName = args[1]; } else { Console.WriteLine("Command line parameters violation!"); return; } govern.Run(inputFileName, outputFileName); }