I'm quite new to C#, and wanted a bit of advice really on best practice.
I come from a vb background, and am used to having a declarations module, where I can add any global contansts, global ADO connections etc that can be used by the whole program.
I'm having some difficulty doing the same thing in C#. I've tried including a declarations class with the same namespace as every other class. Here I can put global enumerations which works well, but I can't seem to put global variables here.
Basically I just want a place to delcare my global SQL Connection. Can anyone suggest a good approach?