Untitled
plain_text
2 months ago
681 B
1
Indexable
Never
internal class Program { static void Main(string[] args) { int[,] array = new int[9, 9] { { 1,1,1,1,1,1,1,1,1}, { 1,0,0,0,0,0,0,0,1}, { 1,0,1,1,1,1,1,0,1}, { 1,0,1,0,0,0,1,0,1}, { 1,0,1,0,1,1,1,0,1}, { 1,0,1,0,0,0,0,0,1}, { 1,0,1,1,1,1,1,1,1}, { 1,0,0,0,0,0,0,0,0}, { 1,1,1,1,1,1,1,1,1} }; for (int i = 0; i<9; i++) { for (int j = 0; j<9; j++) { Console.Write(array[i,j]); } Console.WriteLine() ; } } }