public CellInfo GetCellInfo(int y, int x) { CellInfo cell = null; try { cell = MapStatus.First((ci) => ci.X == x && ci.Y == y); } catch { cell = null; } return(cell); }