comma seperated integer in c#
<p>I have an integer that need to be converted to comma seperated value. I tried </p>

<pre><code>string.Format("{0:n}", 999999)
</code></pre>

<p>However, the output I get is 999,999.00. I don't want the ".00" part to appear. How can this be done.</p>

<p>Thanks in advance</p>
