Replace all occurrences of a string (in array) with a single value
<p>I have a string array:</p>

<pre><code>string[] arr2 = { "/", "@", "&amp;" };
</code></pre>

<p>I have another string (i.e. <code>strValue</code>). Is there a clean way to replace all instances of the array contents with a single value (i.e. an underscore)? So before:</p>

<pre><code>strValue = "a/ new string, with some@ values&amp;"
</code></pre>

<p>And after:</p>

<pre><code>strValue = "a_ new string, with some_ values_"
</code></pre>

<p>I considered doing this:</p>

<pre><code>strValue = strValue.Replace("/", "_");
strValue = strValue.Replace("@", "_");
strValue = strValue.Replace("&amp;", "_");
</code></pre>

<p>But my array of characters to replace may become a lot bigger.</p>