<p>I have a function that takes, amongst others, a parameter declared as <em>int privateCount</em>.  When I want to call ToString() on this param, ReSharper greys it out and marks it as a redundant call.  So, curious as I am, I remove the ToString(), and the code still builds!</p>

<p>How can a C# compiler allow this, where <em>str</em> is a string?</p>

<p><code>str += privateCount +</code> ...</p>

The + operator for string is overloaded to call String.Concat passing in the left and right side of the expression. Thus:
```
```
string x = "123" + 45;
```
```
Gets compiled to:
```
```
String.Concat("123", 45);
```
```
Since String.Concat takes in two objects, the right hand side (45) is boxed and then ToString() is called on it.
Note that this "overloading" is not via operator overloading in the language (aka it's not a method named op_Addition) but is handled by the compiler.