Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static void Main(string[] args)
- {
- char[,] map =
- {
- {'#','#','#','#','#','#','#','#','#','#','#','#','#','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#',' ','#',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','#',},
- {'#','#','#','#','#','#','#','#','#','#','#','#','#','#',},
- };
- for (int i = 0; i < map.GetLength(0); i++)
- {
- for (int j = 0; j < map.GetLength(1); j++)
- {
- Console.Write(map[i, j]);
- }
- Console.WriteLine();
- }
- }
Add Comment
Please, Sign In to add comment