Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace ConsoleApplication5
- {
- class Program : ICloneable
- {
- public static void Main(string[] args)
- {
- Console.ReadLine();
- }
- public object Clone()
- {
- int[][] a = new int[][]
- {
- new int[] {0, 0},
- new int[] {1, 2},
- new int[] {2, 4},
- new int[] {3, 6}
- };
- for (int i = 0; i < 4; i++)
- {
- for (int j = 0; j < 2; j++)
- {
- Console.WriteLine(format: "a[{0}, {1}] = {2}", arg0: i, arg1: j, arg2: a[index0: i][index0: j]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement