June 17th, 2014, 09:23 AM
Basics on C# Global Variable
Being a newbie to C#, I have a question on best practices.
What methodology would you recommend to store local working variable that need to be accessible anywhere in the application? All of these variable are either very slow moving or essentially static but static in that they depend on where the application is being used at (physical location, mobile, desktop, etc...). These variables are determined at start up but typically do not change during usage: but are critical for determining how the app is used and what data is collected (production monitoring system).
I really want this to be a highly streamlined utility that limits its IO as much as possible.
Would you suggest the following (or other)? And why?
There are 10 types of people in the world, those that understand binary and those that don't.
Using VS 2010
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!