So I added a default to try and figure out what's going on and that is failing as well.
default:
{
if (currentValue[0].ToLower() == "id")
{
MessageBox.Show("Equal");
}
else if (currentValue[0].ToLower().Equals("id"))
{
MessageBox.Show("Equal 2");
}
break;
}
currentValue[0] is indeed "ID" when I debug at runtime. So basically it is telling me "id" != "id" and "id".Equals("id") is also false.
What am I missing here? Anyone have any ideas?