about summary refs log tree commit diff
path: root/Day2.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Day2.cs')
-rw-r--r--Day2.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/Day2.cs b/Day2.cs
index 1549e28..f474c45 100644
--- a/Day2.cs
+++ b/Day2.cs
@@ -8,8 +8,11 @@ namespace aoc2019
     {
         public override int DayNumber => 2;
 
-        private readonly IEnumerable<int> input =
-            File.ReadLines("input/day2.in").First().Split(',').Select(int.Parse);
+        private readonly IEnumerable<int> input;
+        public Day2()
+        {
+            input = Input.First().Split(',').Select(int.Parse);
+        }
 
         public int RunIntCode(int noun, int verb)
         {