title: How to replace a char in string with an Empty character in C#.NET
body: <p>I have a string like this:</p>
  
  <pre><code>string val = "123-12-1234";
  </code></pre>
  
  <p>How can I replace the dashes using an empty string in C#.</p>
  
  <p>I mean <code>val.Replace(char oldChar, newChar);</code></p>
  
  <p>What needs to go in <code>oldChar</code> and <code>newChar</code>.</p>