Day08 part 1
This commit is contained in:
@@ -7,7 +7,7 @@ namespace AdventOfCode2018
|
||||
{
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
int currentDayNumber = 7;
|
||||
int currentDayNumber = 8;
|
||||
IDay currentDay = null;
|
||||
|
||||
switch (currentDayNumber)
|
||||
@@ -19,8 +19,9 @@ namespace AdventOfCode2018
|
||||
case 5: currentDay = new Day05(); break;
|
||||
case 6: currentDay = new Day06(); break;
|
||||
case 7: currentDay = new Day07(); break;
|
||||
case 8: currentDay = new Day08(); break;
|
||||
}
|
||||
|
||||
|
||||
string[] linesDay = File.ReadAllLines(string.Format("inputs/Day{0:00}.txt", currentDayNumber));
|
||||
string resultPart1 = currentDay.ResolvePart1(linesDay);
|
||||
Console.WriteLine("Day{1:00} Result Part1: {0}", resultPart1, currentDayNumber);
|
||||
|
||||
Reference in New Issue
Block a user