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); }
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"); }