I am using
WebClient c = new WebClient();
c.Encoding = Encoding.UTF8;
var vLogin = c.DownloadString("http://www.www");
And it returns an HTML, but it appears
< instead of < and > instead of >
How can I solve this?
I am using
WebClient c = new WebClient();
c.Encoding = Encoding.UTF8;
var vLogin = c.DownloadString("http://www.www");
And it returns an HTML, but it appears
< instead of < and > instead of >
How can I solve this?
These (< and >) are standard HTML character entities. You can use an HTML decoder to get "normal" character.
See How can I decode HTML characters in C#? fore more details.