diff --git a/2020/Program.cs b/2020/Program.cs index ea320e1..7656400 100644 --- a/2020/Program.cs +++ b/2020/Program.cs @@ -14,7 +14,7 @@ namespace AdventOfCode { static List ReadInts(string filename) { string[] lines = File.ReadAllLines(filename); - return lines.Select(s => int.Parse(s)).ToList(); + return lines.Select(int.Parse).ToList(); } static int Day1Part1(List numbers) {