예제 #1
0
        static void Main(string[] args)
        {
            isRunningLocally = args.Length > 0;

            var morse = new Morse();

            morse.ReadFromConsole();
            long numMatches = morse.CalculateNumPossibleMatches();

            Console.WriteLine(numMatches.ToString());

            Console.WriteLine("Press any key to exit: ");
            Console.ReadKey();
        }
예제 #2
0
        static void Main(string[] args)
        {
            isRunningLocally = args.Length > 0;

            var morse = new Morse();

            morse.ReadFromConsole();
            long numMatches = morse.CalculateNumPossibleMatches();

            Console.WriteLine(numMatches.ToString());

            Console.WriteLine("Press any key to exit: ");
            Console.ReadKey();
         }