First things first, this isn't C. Second thing, this is an
object-oriented framework (.NET, of which C# is a language), so there is
no such thing as a 'global variable'.
What are you trying to accomplish specifically? There is a better way
besides using global variables.
In ASP.NET static properties maintain their values between clients request,
and so work like Application variables.
LC
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.