AdventOfCode/AoC_2025.Runner/Program.cs

35 lines
1.2 KiB
C#

// See https://aka.ms/new-console-template for more information
using System.Globalization;
using AoC_2025;
var rootPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
var day01 = new Day01();
string day01Path = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day01.txt";
Console.WriteLine(day01.SolvePart1(day01Path));
Console.WriteLine(day01.SolvePart2(day01Path));
Console.WriteLine();
var day02 = new Day02();
string day02Path = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day02.txt";
Console.WriteLine(day02.SolvePart1(day02Path));
Console.WriteLine(day02.SolvePart2(day02Path));
Console.WriteLine();
var day03 = new Day03();
string day03Path = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day03.txt";
Console.WriteLine(day03.SolvePart1(day03Path));
Console.WriteLine(day03.SolvePart2(day03Path));
Console.WriteLine();
var day04 = new Day04();
string day04Path = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day04.txt";
Console.WriteLine(day04.SolvePart1(day04Path));
Console.WriteLine(day04.SolvePart2(day04Path));
Console.WriteLine();
var day05 = new Day05();
string day05Path = @$"{rootPath}\AoC-PuzzleInputs\2025\Prod\day05.txt";
Console.WriteLine(day05.SolvePart1(day05Path));
Console.WriteLine(day05.SolvePart2(day05Path));
Console.WriteLine();