示例#1
0
        private static void Main(string[] args)
        {
            var input = File.ReadAllText("input.txt");

            var list = input.Split("\r\n").ToArray();

            var one         = new TaskOne(list);
            var invalidItem = one.Run(25);

            var two = new TaskTwo(list);

            two.Run(invalidItem);
        }
示例#2
0
        private static void Main(string[] args)
        {
            var input = File.ReadAllText("input.txt");

            var list = input.Split("\r\n").ToArray();

            var one = new TaskOne(list);

            one.Run();

            var two = new TaskTwo(list);

            two.Run();

            Console.WriteLine("Finished");
        }