Always put the constant on the left side of an equality/inequality comparison like this:
if (0 == Value)
This is a good practice because if you accidentally put the ‘=’ operatorinstead of ‘==’ , then the compiler will detect it. Also, the constant value is right up front where you can see it, not buried at the end of the expression.