Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static string ToStringer(int[,] ab)
- {
- string str = "{";
- for (int i = 0; i < ab.GetLength(0); ++i)
- {
- str += "{";
- for (int j = 0; j < ab.GetLength(1); ++j)
- {
- str += ab[i, j].ToString();
- if (j != ab.GetLength(1) - 1)
- str += ",";
- }
- str += "}";
- if (i != ab.GetLength(0) - 1)
- str += ",";
- }
- str += "}";
- //Console.WriteLine(str);
- return str;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement