chore: Rename 2026 to 2025
This commit is contained in:
parent
6e5b0fcf60
commit
05f5b3e414
11 changed files with 8 additions and 7 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
<TargetFramework>net10.0</TargetFramework>
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<RootNamespace>AdventOfCode2025</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode2026", "AdventOfCode2026.csproj", "{1B2A5F8D-587F-4257-9443-1951C8D0D38A}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AdventOfCode2025", "AdventOfCode2025.csproj", "{1B2A5F8D-587F-4257-9443-1951C8D0D38A}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AdventOfCode2026;
|
namespace AdventOfCode2025;
|
||||||
|
|
||||||
public sealed class Day1 : Solution
|
public sealed class Day1 : Solution
|
||||||
{
|
{
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AdventOfCode2026;
|
namespace AdventOfCode2025;
|
||||||
|
|
||||||
public class Day2 : Solution
|
public class Day2 : Solution
|
||||||
{
|
{
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AdventOfCode2026;
|
namespace AdventOfCode2025;
|
||||||
|
|
||||||
public static class InputReader
|
public static class InputReader
|
||||||
{
|
{
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AdventOfCode2026;
|
namespace AdventOfCode2025;
|
||||||
|
|
||||||
internal class Program
|
internal class Program
|
||||||
{
|
{
|
||||||
|
|
@ -19,7 +19,7 @@ internal class Program
|
||||||
{
|
{
|
||||||
var solutionText = $"Solution for Day {day.ToString().PadLeft(2, '0')}:";
|
var solutionText = $"Solution for Day {day.ToString().PadLeft(2, '0')}:";
|
||||||
var className = $"Day{day}";
|
var className = $"Day{day}";
|
||||||
var classType = Type.GetType($"AdventOfCode2026.{className}");
|
var classType = Type.GetType($"AdventOfCode2025.{className}");
|
||||||
if (classType == null)
|
if (classType == null)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"{solutionText} is not implemented.");
|
Console.WriteLine($"{solutionText} is not implemented.");
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AdventOfCode2026;
|
namespace AdventOfCode2025;
|
||||||
|
|
||||||
public abstract class Solution
|
public abstract class Solution
|
||||||
{
|
{
|
||||||
Loading…
Add table
Add a link
Reference in a new issue