This is a simplification, but shows what I mean. If you try to compile this, it says...Code:
i = 0;
if (i == 1)
Use of unassigned local variable 'i'
... with the i in the if statement underlined. Can someone explain why this is reasonable? Bear in mind what I said before, this is a gross over simplification of what I was actually trying to do.