namespace Day21; public class Tile { private readonly char _type; public bool IsStart { get; } public Vec Position { get; set; } public bool IsWalkable => _type != '#'; public Tile(char type) { if (type == 'S') { _type = '.'; IsStart = true; } else { _type = type; } } public override string ToString() { return _type.ToString(); } }