Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Database
- {
- //Can't be accessed here. Needs to be in a method.
- private static void Test()
- {
- //Program.dbconn can now be accessed here
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement