Skip to content

Commit 2c88b50

Browse files
authored
Rename Parse method to Parse1 in Solution.cs
1 parent 11e5128 commit 2c88b50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

2025/Day01/Solution.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace AdventOfCode.Y2025.Day01;
77
[ProblemName("Secret Entrance")]
88
class Solution : Solver {
99

10-
public object PartOne(string input) => Dial(Parse(input)).Count(x => x == 0);
10+
public object PartOne(string input) => Dial(Parse1(input)).Count(x => x == 0);
1111
public object PartTwo(string input) => Dial(Parse2(input)).Count(x => x == 0);
1212

1313
IEnumerable<int> Dial(IEnumerable<int> rotations) {
@@ -18,7 +18,7 @@ IEnumerable<int> Dial(IEnumerable<int> rotations) {
1818
}
1919
}
2020

21-
IEnumerable<int> Parse(string input) =>
21+
IEnumerable<int> Parse1(string input) =>
2222
from line in input.Split("\n")
2323
let d = line[0] == 'R' ? 1 : -1
2424
let a = int.Parse(line.Substring(1))
@@ -30,4 +30,4 @@ from line in input.Split("\n")
3030
let a = int.Parse(line.Substring(1))
3131
from i in Enumerable.Range(0, a)
3232
select d;
33-
}
33+
}

0 commit comments

Comments
 (0)