Exemple #1
0
        public void GetInput()
        {
            var inputLines = File.ReadAllLines("2016/input/day07.txt")
                             .Where(l => !string.IsNullOrWhiteSpace(l))
                             .Select(l => l.Replace("\n", ""));

            foreach (var line in inputLines)
            {
                ipAddressses.Add(IpAddress.GetFromString(line));
            }
        }