Normally I would just use:
HttpContext.Current.Server.UrlEncode(\"url\");
But since this is a console application, HttpContext.Curren
HttpContext.Curren
Best thing is to Add Reference to System.web..dll
and use var EncodedUrl=System.Web.HttpUtility.UrlEncode("URL_TEXT");
You can find the File at System.web.dll