From aa040eb41b9ba7783d41346c46b56f85f332e1a2 Mon Sep 17 00:00:00 2001 From: KaterynaKateryna Date: Sun, 10 Dec 2023 12:40:55 +0100 Subject: [PATCH] refactor --- AdventOfCode/Day10.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/AdventOfCode/Day10.cs b/AdventOfCode/Day10.cs index ea396e2..18936d8 100644 --- a/AdventOfCode/Day10.cs +++ b/AdventOfCode/Day10.cs @@ -11,7 +11,6 @@ public Day10() public override ValueTask Solve_1() { - Point start = GetStart(); (char value, Direction from)[] startOptions = [ @@ -84,10 +83,6 @@ private Point GetStart() case ('J', Direction.North): case ('7', Direction.South): return point.J - 1 < 0 ? null : (new Point(point.I, point.J - 1, _input[point.I][point.J - 1]), Direction.East); - case ('.', Direction.North): - case ('.', Direction.East): - case ('.', Direction.South): - case ('.', Direction.West): default: return null; }