C# Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 280 Page Views: 

How do download a web page from c#?



Posted By: Avi Date: 14 October 2010 09:53:31 AM
 Answer:

use HttpWebRequest object to obtain WebResponse object and response stream from it.


Posted By: avibtech


Date: 14 October 2010 09:53:31 AM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image kGz0N6
Related Questions
C# : How do you use events?

How do you use events?

Declaration of the event: public event DelegateName NameOfTheEvent Subscription to the event: obj....
Category: C# Date: 10/14/2010 1:53:31 AM
C# : How do you declare explicit conversion operator in c#?

How do you declare explicit conversion operator in c#?

public static explicit operator SampleClass(string obj){ }
Category: C# Date: 10/14/2010 1:32:32 AM
C# : What will be the result of the following code:
for(int I = 0; I <2; i++)
for(int j = 0; j <2; j++)
{
if(j==1) break;
Console.Write(i*j);
}
C# : Is this code valid?
Class T { public void CloneT(T obj) { this = obj; }}

Is this code valid? Class T { public void CloneT(T obj) { this = obj; }}

No you cannot assign anything to this.
Category: C# Date: 10/14/2010 1:22:47 AM
C# : How do you use random number generator in c#?

How do you use random number generator in c#?

Random r = new Random(); double t = r.NextDouble();
Category: C# Date: 10/14/2010 1:12:47 AM