| 12345678910111213141516171819 |
- using System.Text.RegularExpressions;
- namespace Day9;
- public partial class Parser
- {
- [GeneratedRegex(@".*")]
- private partial Regex LineMatch();
-
- public void Parse(string inputFile)
- {
- using var reader = File.OpenText(inputFile);
-
- while (!reader.EndOfStream)
- {
- var line = reader.ReadLine()!;
- }
- }
- }
|