using System.Text.RegularExpressions; namespace Day3; public class NumberToken : Token { public int Length { get; } public int Value { get; } public NumberToken(int col, int row, string value) : base(new Point2D(col, row)) { Length = value.Length; Value = int.Parse(value); } }