From 6617f4a88336d422508462d30d85fc7ac747eee7 Mon Sep 17 00:00:00 2001 From: Sebastian Lindemeier Date: Thu, 3 Dec 2026 10:30:24 +0100 Subject: [PATCH] Simplified input parsing for 2026 day 3 --- AoC_2026/Day03.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AoC_2026/Day03.cs b/AoC_2026/Day03.cs index 221d8f0..9d03308 100644 --- a/AoC_2026/Day03.cs +++ b/AoC_2026/Day03.cs @@ -5,11 +5,11 @@ namespace AoC_2026; public class Day03 : IPuzzleSolver { - private char[][] ParsePuzzleInput(string path) + private static char[][] ParsePuzzleInput(string path) { var puzzleInput = File.ReadAllLines(path) .Where(l => !string.IsNullOrWhiteSpace(l)) - .Select(l => l.Select(c => c).ToArray()) + .Select(l => l.ToArray()) .ToArray(); return puzzleInput; }