P
Paul
Hi I have a c# windows application vs2005 with a main section and two public
static methods.
Anyhow I am using the same variable in the main section as well as the
methods but in each case I had to create a new variable. Is there a way to
have the variable declared and set in Main and usable in the methods without
passing them into the methods? The methods would only need to read the
variable.
Thanks.
static methods.
Anyhow I am using the same variable in the main section as well as the
methods but in each case I had to create a new variable. Is there a way to
have the variable declared and set in Main and usable in the methods without
passing them into the methods? The methods would only need to read the
variable.
Thanks.