I want its output as uppercase. This is what I get on Server.UrlEncode(\"http://\"):
Server.UrlEncode(\"http://\")
http%3a%2f%2f
but I need:
<
I encountered the same problem, I found the answer in this link:
WebUtility.UrlEncode or HttpUtility.UrlEncode
in-short you can use:
System.Net.WebUtility.UrlEncode
which encodes into uppercase hex values