Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Linq;
- using System.Collections.Generic;
- public class Program
- {
- public static void Main()
- {
- int[,] matrix =
- {
- {2, 3, 4, 5},
- {11, 15, 6, 7}
- };
- for(int row = 0; row < matrix.GetLength(0); row++)
- {
- for(int col = 0;col < matrix.GetLength(1); col++)
- {
- Console.Write(matrix[row, col]+" ");
- }
- Console.WriteLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement