|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Sharing Variables across modules in the same project?What is the best practice for sharing variables across modules in the
same project? I'm doing a console app with different modules for different functions (file i/o, sql commands, string manipulation, etc). But I have variables in the main module that other modules need to access such as AppPath, etc. What is the "best practice" concerning a situation like this? *** Sent via Developersdex http://www.developersdex.com *** Public Shared class properties
-- Show quoteHide quote2005 Microsoft MVP C# Robbe Morris http://www.robbemorris.com http://www.masterado.net/home/listings.aspx "Terry Olsen" <tolse***@hotmail.com> wrote in message news:uXQPdekNFHA.508@TK2MSFTNGP12.phx.gbl... > What is the best practice for sharing variables across modules in the > same project? > > I'm doing a console app with different modules for different functions > (file i/o, sql commands, string manipulation, etc). But I have > variables in the main module that other modules need to access such as > AppPath, etc. > > What is the "best practice" concerning a situation like this? > > *** Sent via Developersdex http://www.developersdex.com ***
Visual Basic .Net List Box
Hiding items in base classes Icon for Components Problems with pictureboxes and memory usage detect mouse event on node of a treeview How can I loop through all of the messages in the inbox - VB.NET E newbie stupidity: opening one form and closing another FTP client SqlCommand w/ Params Select Issue Using the IN Clause Array.Length vs Array.GetUpperBound(0) -- any real differences? |
|||||||||||||||||||||||