diff options
author | Ben Harris <ben@tilde.team> | 2020-12-02 01:58:54 -0500 |
---|---|---|
committer | Ben Harris <ben@tilde.team> | 2020-12-02 01:58:54 -0500 |
commit | 0957ac4c441b40bd9f500fe320de7e0e5390918b (patch) | |
tree | 4f8b9bb9d0410ae71d159eedd334beaed1673364 /Day.cs | |
parent | 5c58a0cfea77bcf6195ff06469b39601eb5b4753 (diff) |
set Part1() and Part2() to protected
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 |