Hopefully this is a simple fix I have the code:
using System.Net;
namespace WebGet
{
public partial class Web
{
public static void Main()
{
WebRequest webRequest;
}
}
}
And I get an error saying it cannot find WebRequest (missing assembly reference) I added System.Net as a reference. Do I need to do something else?
Thanks in advance
This works
The following shows the references needed.