Skip to content

maccettura/AdventOfCode-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Advent Of Code

Base template for Advent Of Code solutions. Updated yearly to reflect the latest .NET / C# versions.

To use

Each day's solution will be implemented in the Solution class located in each day's respective folder. The "day" integer property has already been filled out since that is known ahead of time, you will have to fill in the "title" since that is unknown until the day of. Each solution has two parts (methods) and they will return a string.

Solution inputs are in the Resources.resx file, the keys are already there just replace the value with your own input. The BaseSolution abstract class has a GetResourceString() method that will return the input as a string for you.

By default when running the project it will iterate through all days that have the Title filled out, this will essentially run all your answers up to the day that you are currently on. However there is a GetSolutionByDay(int day) method in the SolutionRepository class that will return the solution instance for a specific day if preferred.

I have also included a solutions section in the README below that allows you to quickly link to the question and the answer in your repo. Maintenance is required every year (I will try to remember to update the template yearly) but if you already have it locally make sure you change the "/[YEAR]/" in the Question URL's below.

Solutions

  1. Day 1 Question
  2. Day 2 Question
  3. Day 3 Question
  4. Day 4 Question
  5. Day 5 Question
  6. Day 6 Question
  7. Day 7 Question
  8. Day 8 Question
  9. Day 9 Question
  10. Day 10 Question
  11. Day 11 Question
  12. Day 12 Question
  13. Day 13 Question
  14. Day 14 Question
  15. Day 15 Question
  16. Day 16 Question
  17. Day 17 Question
  18. Day 18 Question
  19. Day 19 Question
  20. Day 20 Question
  21. Day 21 Question
  22. Day 22 Question
  23. Day 24 Question
  24. Day 24 Question
  25. Day 25 Question

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages