title: UrlEncode through a console application?
body: <p>Normally I would just use:</p>
  
  <pre><code>HttpContext.Current.Server.UrlEncode("url");
  </code></pre>
  
  <p>But since this is a console application, <code>HttpContext.Current</code> is always going to be <code>null</code>.</p>
  
  <p>Is there another method that does the same thing that I could use?</p>