title: encodeURIComponent in c sharp
body: <p>I've tried to use HttpUtility.UrlEncode in order to simulate the javscript's encodeURIComponent, but had some issues (instead of getting "%20" i got "+")</p>
  
  <p>then I've replaced the string, but i see that the problem is not only in these two signs, in some places the encoded string (by UrlEncode) is totally different from the encoded string by using encodeURIComponent.</p>
  
  <p>Any ideas how it can be solved ?</p>
  
  <p>thanks.</p>