How can I replace a space in a string with an underscore in C#?
<p>I have strings such as:</p>

<pre><code>var abc = "Menu Link";
</code></pre>

<p>Is there a simple way I can change the space to an underscore?</p>
