title: Clean the string? is there any better way of doing it?
body: <p>I am using this method to clean the string </p>
  
  <pre><code>public static string CleanString(string dirtyString)
  {
      string removeChars = " ?&amp;^$#@!()+-,:;&lt;&gt;’\'-_*";
      string result = dirtyString;
  
      foreach (char c in removeChars)
      {
          result = result.Replace(c.ToString(), string.Empty);
      }
  
      return result;
  }
  </code></pre>
  
  <p>This method works fine.. BUT there is a performance glitch in this method. everytime i pass the string, every character goes in loop, if i have a large string then it would take too much time to return the object.</p>
  
  <p>Is there any other better way of doing the same thing?. like in LINQ or JQUERY / Javascript</p>
  
  <p>Any suggestion would be appreciated.</p>