Should I compare integers using the operator or a method?
<p>I'm refactoring my clients code written by an unspecified coder. It looks like this.</p>

<pre><code>int i = ...;
if (i.Equals(123));
</code></pre>

<p>I'm <strong>very</strong> tempted to change it to the usual, namely:</p>

<pre><code>int i = ...;
if (i == 123);
</code></pre>

<p>but I'm cautious not to cause any damage. Those calls are equivalent, aren't they? And by any measures, the operator style can't be slower but is definitely more surprising and less readable, right?</p>
