if(Limit != 25)

Bad.

    if (Limit != 25)

Good.