c# session multidimensional array
<p>I'm trying to add form data from an asp.net wizard into a session array object. The object should store the question number and question answer selected by the user for each question. I'm trying to use a multidimensional array to store the question number and the associated answer. I would also be open to using a hashtable or dictionary solution.</p>

<p>This is the code I've got so far:</p>

<pre><code>string[,] strQandA = new string[10, 2] {{"1", Q1.SelectedValue}, {"2", Q2.SelectedValue}, {"3", Q3.SelectedValue}, {"4", Q4.SelectedValue}, {"5", Q5.SelectedValue}, {"6", Q6.SelectedValue}, {"7", Q7.SelectedValue}, {"8", Q8.SelectedValue}, {"9", Q9.SelectedValue}, {"10", Q10.SelectedValue}};
Session["mySession"] = strQandA;
</code></pre>

<p>Is this correct? Any help would be appreciated. Thanks</p>
