need to handle double and single quote in C# code behind
<p>I am trying to handle both double and single quote in my code behind , but none of them are working. Below is my code</p>

<pre><code>private String _systemPath;

public String SystemPath
{
    get {

       // return _systemPath = _systemPath.Replace("'", "\'").Replace("\"", @"\\\""); 
       return  _systemPath = _systemPath.Replace("'", @"\'").Replace(@"\""", "\"");

    }
    set { _systemPath = value; }
}
</code></pre>

<p>any help will be appreciated.</p>
