I want to write a program that do this:
It should receive the URL (Wikipedia 's URL) from input and download that web page
And read the content of that page and save it into a file
please help me

This is an option. It is widely used.
I happened to use it a day ago..

WebRequest request = WebRequest.Create("url");
WebResponse response = request.GetResponse();
Stream current_data = response.GetResponseStream();
string content = "";
using (StreamReader sr = new StreamReader(response))
    content = sr.ReadToEnd();

thanks a lot

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.