.NET Fiddle

CSharp · Console

/Program.cs

using System;
using System.Text;
					
public class Program
{
	private static int[][] maze;
	
	public static void Main()
	{
		maze = new int[][] { new int[] { 1, 2 }, new int[] {3, 4} };
		Console.WriteLine(GetRawMaze());
	}
	
	public static string GetRawMaze()
{
    StringBuilder sb = new StringBuilder();
    foreach (int[] row in maze)
    {
        sb.Append("[" + string.Join(", ",row) + "]\n");
    }
    return sb.ToString();
}
}
;