Normally I would just use:
HttpContext.Current.Server.UrlEncode(\"url\");
But since this is a console application, HttpContext.Curren
HttpContext.Curren
Use WebUtility.UrlEncode(string) from System.Net namespace
WebUtility.UrlEncode(string)
System.Net