예제 #1
0
        static void Main(string[] args)
        {
            Input           input           = new Input("Input.txt");
            Characters      characters      = new Characters(input.readLines());
            CircularShifter circularShifter = new CircularShifter(characters);
            Alphabetizer    alphabetizer    = new Alphabetizer(circularShifter);
            Output          output          = new Output("Output.txt");

            output.writeLines(alphabetizer);


            System.Console.ReadKey();
        }
예제 #2
0
        public Alphabetizer(CircularShifter shifter)
        {
            Shifter = shifter;

            Lines = alphabetize(Shifter.getShiftedLines());
        }