using System;
using System.Linq;
public class Test
{
public static void Main()
{
int[][] a = new int[10][];
for (int i = 0 ; i != 10 ; i++) {
a[i] = new int[20];
a[i][0] = i+100;
}
var copy = a.Select(x => x.ToArray()).ToArray();
a[0][0] = 1234;
Console.WriteLine(a[0][0]);
Console.WriteLine(copy[0][0]);
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uTGlucTsKCnB1YmxpYyBjbGFzcyBUZXN0CnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBNYWluKCkKCXsKCQlpbnRbXVtdIGEgPSBuZXcgaW50WzEwXVtdOwogICAgICAgIGZvciAoaW50IGkgPSAwIDsgaSAhPSAxMCA7IGkrKykgewogICAgICAgICAgICBhW2ldID0gbmV3IGludFsyMF07CiAgICAgICAgICAgIGFbaV1bMF0gPSBpKzEwMDsKCSAgICB9CiAgICAgICAgdmFyIGNvcHkgPSBhLlNlbGVjdCh4ID0+IHguVG9BcnJheSgpKS5Ub0FycmF5KCk7CiAgICAgICAgYVswXVswXSA9IDEyMzQ7CiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoYVswXVswXSk7CiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoY29weVswXVswXSk7Cgl9Cn0=