C# - 2D Array of String Arrays
<p>I am trying to create a world map for a console-based game.</p>

<p>In the World class I have string arrays that can be printed using a level print method. </p>

<pre><code>public static string[] A1 = new string[]
{
    (" level data"),
    (" level data"),
};
</code></pre>

<p>This works if I do</p>

<pre><code>Render.DrawLevel(World.A1);
</code></pre>

<p>where Render.DrawLevel takes args:</p>

<pre><code>(string[] _level)
</code></pre>

<p>However, in the World Class, I want to create a two-dimensional array that can hold all of the Map's string arrays.</p>

<p>I have tried:</p>

<pre><code>public static string[,][] Map = new string[,][]
{
    { A1 , A2 },
    { B1 , B2 },
};
</code></pre>

<p>But if I try to use:</p>

<pre><code>World.Map[0,0]
</code></pre>

<p>as my arguments for level printed, I get given an error that this is <code>NULL</code>, instead of the string[] A1.</p>

<p>How can I create a 2d array of arrays, and refer to it properly for string[] arguments?</p>

<p>Thank you very much,</p>

<p>Fin.</p>

<p>EDIT: Incorrectly copied code as 'static void' not just 'static'.</p>