This:
int movement = (label2.text == "This is Level 1") ? 5 : 15;
Is the same as saying this:
int movement;
if (label2.text == "This is Level 1")
{
movement = 5;
}
else
{
movement = 15;
}
It simply takes less room, and therefore keeps the code nice and tidy.
And by the way, if you do that, you do NOT need both blocks of code (as I indicated in the answer you're talking about). Go back and look at it again.