Ok so when I run this i run into a null exception in the if statement on workshops[2]. The messagebox shows the value that i expected. Thoughts?
foreach (string[] workshops in data.aWorkJag)
{
    MessageBox.Show(workshops[2].ToString());
    if (workshops[1].ToString() == wkshpConfCode)
    {
        toAddList.Add(workshops[2].ToString());
    }
}
The exception is being thrown on the line
toAddList.Add(workshops[2].ToString());
 
     
     
    