Beispiel #1
0
        public static void Main(string[] args)
        {
            // Establish an event handler to process key press events.
            Console.CancelKeyPress += new ConsoleCancelEventHandler(MyHandler);

            while (true)
            {
                _problem.LargestPrimeFactor();
            }

            // Keeps console open on debug mode
            //KeepConsoleOpen();
        }