Dave

Dave

  • NA
  • 48
  • 24k

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

Jan 23 2014 7:34 PM
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.



Answers (1)