r/adventofcode • • 12h 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.

8 Upvotes

6 comments sorted by

2

u/RunninglVlan 12h 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 10h ago

A big comeback?

2

u/RunninglVlan 10h 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 10h ago edited 7h 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 9h 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 7h ago

These are handy sometimes