Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            Executive ex = new Executive();
            ex.Args = args;
            ex.runExecutive();

            Console.WriteLine("\n\nPress any key to continue");
            Console.ReadLine();
        }
Ejemplo n.º 2
0
        //Entry point of the code analyzer tool
        static void Main(string[] args)
        {
            Executive mainExecutive = new Executive();

            try
            {
                if (args.Length == 0)
                {
                    mainExecutive.dislayInstance.displayNoInput();
                }
                else
                {
                    mainExecutive.Args = args;
                    mainExecutive.startExecutive();
                }
            }
            catch
            {
                Console.WriteLine("Error in execution. Check the input arguments");
            }
        }