public string GetArray int len arr Length string print for int len for

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
public string GetArray()
{
int len = arr.Length;
string print = "";
for (int i = 0; i < len; i++)
{
for (int j = 0; j < len; j++)
print += arr[i][j] + " ";
print += Environment.NewLine;
}
return print;
}