What is the difference in string.Equals("string") and "String".Equals(string)?
<p>Is there any difference in following two lines of code that compares the string values.</p>

<pre><code>string str = "abc";

if(str.Equals("abc"))
</code></pre>

<p>and </p>

<pre><code>if("abc".Equals(str))
</code></pre>

<p>in the first line I am calling the equals method on string variable to compare it with string literal. The second line is vice versa. Is it just the difference of coding style or there is a difference in the way these two statements are processed by the compiler.</p>
