private static IEnumerable<Position> GetJoinPosition(char[,] artChars) { for (int x = 0; x < artChars.GetLength(0); x++) { for (int y = 0; y < artChars.GetLength(1); y++) { if(artChars[x,y] == '#') yield return new Position(){x = x, y = y}; } } }