diff options
Diffstat (limited to 'Day.cs')
-rw-r--r-- | Day.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Day.cs b/Day.cs index d8e7e7c..f08e7cf 100644 --- a/Day.cs +++ b/Day.cs @@ -9,7 +9,7 @@ namespace aoc2019 { public abstract int DayNumber { get; } - public virtual IEnumerable<string> Input => + protected virtual IEnumerable<string> Input => File.ReadLines($"input/day{DayNumber}.in"); public virtual void AllParts(bool verbose = false) @@ -31,7 +31,7 @@ namespace aoc2019 Console.WriteLine(); } - public abstract string Part1(); - public abstract string Part2(); + protected abstract string Part1(); + protected abstract string Part2(); } } \ No newline at end of file |