By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,262 Members | 1,269 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,262 IT Pros & Developers. It's quick & easy.

Sharing Variables across modules in the same project?

P: n/a
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 ***
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Public Shared class properties

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.masterado.net/home/listings.aspx

"Terry Olsen" <to******@hotmail.com> wrote in message
news:uX*************@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 ***

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.