The name XXXX does not exist in the current context
<p>I have the following code:</p>

<pre><code>public Form1()
{
    InitializeComponent();


    string strRadio = Utils.ReadFile(strTemp + @"\rstations.txt");
    string[] aRadio = strRadio.Split(new string[] { "#" }, StringSplitOptions.RemoveEmptyEntries);    
    for (int i = 0; i &lt; aRadio.Length; i += 2)
    {
       listBox.Items.Add(aRadio[i]);
    }

}

private void listBox_SelectedIndexChanged(object sender, EventArgs e)
{
    int index = listBox.SelectedIndex;
    MessageBox.Show(aRadio[(index+1)]);
}
</code></pre>

<p>Now the error is <code>The name 'aRadio' does not exist in the current context</code>. Which comes from <code>MessageBox.Show(aRadio[(index+1)]);</code>. Do I need to declare the <code>aRadio</code> as public or something? If so, how would this be done?</p>
