Example #1
0
        /// <summary>
        /// The main entry point for the program.
        /// </summary>
        static void Main()
        {
            // Create a new Logic Component
            FizzBuzzLogic logic = new FizzBuzzLogic();

            // Use newly created logic component it to create a Runnable FizzBuzz Process
            IRunnable fizzBuzzProcess = logic.CreateFizzBuzzProcess(System.Console.Out);

            // Run the Process
            fizzBuzzProcess.Run();
        }