Skip to content

Declare a variable, use it in Program, Form1, ...

Dave

Asked Jan 23, 2014, 2:34 PM EST1 answer
Share
LinkedInX
Hi,
 
Can you tell me what is 'internal static' in 'Program'.
I tried to put 'internal static string str;' between 'static class Program' and '[STAThread]' but the variable str looks not works in 'private void button1_Click(object sender, EventArgs e)' of 'form1.cs'.
Thanks.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    OK, I found my mistake. Thanks.
    0