using System;
using System.Net;
class MainClass
{
public static void Main(string[] argv)
{
WebClient wc = new WebClient();
string filename = "index.html";
wc.DownloadFile("http://www.rntsoft.com", filename);
Console.WriteLine("file downloaded");
}
}