Re: globa variable for windows C# application

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello Jassim,

General, all common things locates in separate namespace for project, smth like <Company>.<Project>.Common
As Vadim mentions you need to locate separate class for global variables, and put it in your common namespace

JR> how can i write and read a global variable for the entire
JR> application in C#?
JR> JR> Many Thanks,
JR> Jassim Rahma

---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not cease to be insipid." (c) Friedrich Nietzsche


.



Relevant Pages

  • Re: When will this ng come to accept that Fortran needs to go "back to the future" ?
    ... Gary Scott wrote: ... It's programming with global variables again -- only with an additional ... the prior generation of models -- programmed with COMMON ... This programming style in and of itself is not bad. ...
    (comp.lang.fortran)
  • Re: common from fortran77 to fortran 90
    ... modules as a simple-minded replacement of common blocks are ... there are cases where global variables are fine and ... When, for example, the app is simulating something like an ...
    (comp.lang.fortran)
  • Re: OPEN all files
    ... global variables, but using them is widely considered poor programming ... Persistence of common variables across accounts, ... I found an old CDP thread from 2001, that I started, regarding the use ...
    (comp.databases.pick)
  • Re: Subroutine question
    ... Variables in common, like variables in modules, are known only where the common or module is referenced. ... and common block names. ... But there are no global variables in Fortran. ... In many languages structure element ...
    (comp.lang.fortran)