When to use XmlConvert.ToString vs Object.ToString()
<p>When should I use <code>XmlConvert.ToString</code> to convert a given value versus the <code>ToString</code> method on the given type.</p>

<p>For example :</p>

<pre><code>int inputVal = 1023;
</code></pre>

<p>I can convert this <code>inputVal</code> to string representation using either method:</p>

<pre><code>string strVal = inputVal.ToString();
</code></pre>

<p>or</p>

<pre><code>string strVal = XmlConvert.ToString(inputVal);
</code></pre>

<p>What is the rule for using <code>XmlConvert.ToString</code> versus doing plain <code>Object.ToString</code>.</p>
