It's been a while since I've coded desktop apps but this has really got me confused.

I have an if statement that I can't get in to.
Code:
if(lvwSearch.Columns[lvwSearch.Columns.Count-1].Text == "CheckOutID")
{
    string test = "Why can't i get here!";
}
I know that the text of the column is "CheckOutID" and I can even confirm this in the immediate window
Code:
lvwSearch.Columns[lvwSearch.Columns.Count-1].Text
"CheckOutID"
lvwSearch.Columns[lvwSearch.Columns.Count-1].Text == "CheckOutID"
true
Yet the if statement doesn't seem to equate it to true and won't execute code contained within.

Any idea's?