Skip to content

Commit 55fa823

Browse files
minor corrections part 2
1 parent 99ea5ca commit 55fa823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2023/Day03/Solution.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace AdventOfCode.Y2023.Day03;
88
class Solution : Solver
99
{
1010
private readonly List<Number> partNumbers = new();
11-
private List<Gear> gears = new();
11+
private readonly List<Gear> gears = new();
1212

1313
public object PartOne(string input)
1414
{
@@ -252,7 +252,7 @@ public class Number
252252

253253
public class Gear
254254
{
255-
public List<Number> PartNumbers { get; set; }
255+
public List<Number> PartNumbers { get; init; }
256256
}
257257

258258
public class Coordinate

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy