Howard Bash
asked on
VB.NET console app needs to share it's module level public variables
I have a console application that creates several objects which are instantiated classes which are part of the solution. How can I share a console level variable between other class/dlls without passing the value into the class via something like sub new (myValues as someSetOfSharedValues)?
making the variables public will do it..but I'd suggest "Friend" (it's like public but a bit more secure). The other idea is to use a database as the middleman between the different objects (if it makes sence to do that).
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.