I'm coding some stuff and my pointers are inside a GitHub repo so I use the client.DownloadString("rawgithubEtc.com"); to get them, but I want to make a PUBLIC variable with the pointer, so the request will be done just ONE TIME, I tried this:
public partial class Form1 : Form
{
WebClient client = new WebClient();
public string stuff = client.DownloadString("rawgithubetc.com");
public int speedTimer = 0; public string speed_data;
Overlay frm = new Overlay();
public Mem m = new Mem();
public Form1()
{
InitializeComponent();
}
..but Visual Studio says:
a field initializer can't be used to reference the field, method or non static properties.
..in the .client here:
public string stuff = client.DownloadString("rawgithubetc.com");