C# solutions for Advent of Code 2024
Find a file
jamsidedown 4d7e03a44e
Day 25
2024-12-26 18:55:48 +00:00
AdventOfCode2024 Day 25 2024-12-26 18:55:48 +00:00
AdventOfCode2024.Test Day 25 2024-12-26 18:55:48 +00:00
.gitignore Up to par with go repo, days 1 & 2 2024-12-02 22:07:32 +00:00
AdventOfCode2024.sln Day 25 2024-12-26 18:55:48 +00:00
LICENSE Initial commit 2024-12-02 17:17:48 +00:00
README.md Speedier day 6 2024-12-06 09:00:20 +00:00

Advent of Code 2024

C# solutions for Advent of Code 2024

Setup

As with last year's solutions the solutions are part of a larger program, with command line arguments to run individual days or all days.

I'm using Jetbrains Rider as my IDE.

Software versions

$ dotnet --version
9.0.100

Running unit tests

$ dotnet test

Running solutions

Input files need to be placed into an input directory Naming convention is day01.txt, day02.txt, etc.

# to restore dependencies
$ dotnet restore

# to build the solution without running it
$ dotnet build

# to run the most recent solution
$ dotnet run --project AdventOfCode2024

# to run solutions for specific days
$ dotnet run --project AdventOfCode2024 1 2 3

# to run all solutions
$ dotnet run --project AdventOfCode2024 --all

# to run in release mode (with optimisations)
$ dotnet run -c Release --project AdventOfCode2024

# to run with server GC (for days when I dump too much on the SOH)
$ DOTNET_gcServer=1 dotnet run -c Release --project AdventOfCode2024 6