r/adventofcode • • 5h ago

Repo Advent of Code in C# solutions, illustrations and a template project

Just like in previous years, I plan to continue my illustrated journey in C#.

The website is at https://aoc.csokavar.hu, my repository can be found in https://github.com/encse/adventofcode, with a template extracted to https://github.com/encse/adventofcode-template.

6 Upvotes

6 comments sorted by

2

u/RunninglVlan 4h ago

Oh cool, didn't know about CountBy - handy!

My repo is: https://github.com/RunninglVlan/AdventOfCode if you want to compare solutions.

2

u/encse 3h ago

A big comeback?

2

u/RunninglVlan 3h ago

Oh yeah, I solved some puzzles years ago in Kotlin, then was reminded of Advent by a viewer, retried already solved ones and then some in C# and now plan to finish this event and solve some past puzzles along the way :) 

2

u/encse 3h ago edited 28m ago

We wrote lots of kotlin during the year, i use C# for aoc only. We have a backend in kotlin, looks better than java or scala would.

1

u/Arctos_FI 2h ago

There is clearly so much i don't know about linq yet. Like only thing i did was orderby, but clearly you could solve whole thing by those extra methods.

Never seen countby or aggregate before

1

u/encse 28m ago

These are handy sometimes