Day02: Resolve

This commit is contained in:
2018-12-03 16:31:08 +01:00
parent 2350ac2b0d
commit 88d15bbd6d

View File

@@ -7,7 +7,10 @@ namespace AdventOfCode2018
{
private static void Main(string[] args)
{
int currentDay = 2;
if (currentDay == 1)
{
// Resolve Day01
Day01 day01 = new Day01();
string[] linesDay01 = File.ReadAllLines("inputs/Day01.txt");
@@ -15,6 +18,16 @@ namespace AdventOfCode2018
Console.WriteLine("Day01 Result: {0}", resultDay01);
string resultDay01Part2 = day01.ResolveDay01_Part2(linesDay01);
Console.WriteLine("Day01_Part2 Result: {0}", resultDay01Part2);
}
if (currentDay == 2)
{
// Resolve Day02
Day02 day02 = new Day02();
string[] linesDay02 = File.ReadAllLines("inputs/Day02.txt");
string resultDay02 = day02.ResolveDay02(linesDay02);
Console.WriteLine("Day02 Result: {0}", resultDay02);
}
Console.Read();
}