Retrieve HTML for Web Page Simple

suggest change
string contents = "";
string url = "http://msdn.microsoft.com";

using (System.Net.WebClient client = new System.Net.WebClient())
{
    contents = client.DownloadString(url);
}

Console.WriteLine(contents);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents