static void Main(string[] args)
{
string yourUrl = "http://www.dotnetfunda.com/";
string yourOutpuFile = "temp.html";
using (WebClient client = new WebClient())
{
client.DownloadFile(yourUrl, yourOutpuFile);
}
Console.WriteLine("Page Downloaded...");
Console.Read();
}
Result
Downloads the web page to your specified file path.