chore: Move solutions to solutions folder

This commit is contained in:
Sithis 2025-12-06 10:16:06 +01:00
parent 3723115a4a
commit 99b435e14c
7 changed files with 10 additions and 8 deletions

View file

@ -1,4 +1,6 @@
namespace AdventOfCode2025;
using AdventOfCode2025.Solutions;
namespace AdventOfCode2025;
internal class Program
{
@ -19,7 +21,7 @@ internal class Program
{
var solutionText = $"Solution for Day {day.ToString().PadLeft(2, '0')}:";
var className = $"Day{day}";
var classType = Type.GetType($"AdventOfCode2025.{className}");
var classType = Type.GetType($"AdventOfCode2025.Solutions.{className}");
if (classType == null)
{
Console.WriteLine($"{solutionText} is not implemented.");

View file

@ -1,6 +1,6 @@
using AdventOfCode2025.Inputs;
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public sealed class Day1 : Solution
{

View file

@ -1,6 +1,6 @@
using AdventOfCode2025.Inputs;
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public class Day2 : Solution
{

View file

@ -1,6 +1,6 @@
using AdventOfCode2025.Inputs;
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public class Day3 : Solution
{

View file

@ -1,6 +1,6 @@
using AdventOfCode2025.Inputs;
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public class Day4 : Solution
{

View file

@ -1,6 +1,6 @@
using AdventOfCode2025.Inputs;
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public class Day5 : Solution
{

View file

@ -1,4 +1,4 @@
namespace AdventOfCode2025;
namespace AdventOfCode2025.Solutions;
public abstract class Solution
{