There's no difference - assuming that "a" is an integer.
I know some people prefer if (5==a) because in c & c++ if you wrote if (5=a) by mistake you'd get a compiler error while if (a=5) would result in a bug.
C# raises a compiler error in the latter case, so it's not an issue.