Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
I tend to stay away from using modules at all; if you use a shared(static, in C#) variable in a class, you can access it without needing an instanceof the class.In Class1,[code=csharp]public static NWDSAConnStrings g_ConnStrings;[/code]Then in Class2 you can either access it with[code=csharp]Class1.g_Connstrings[/code] or add a using statement at the topof the class like this:[code=csharp]using MyNamespaceName.Class1;[/code]and then just simply accessg_Connstrings like you would as if it was in a module.
I tend to stay away from using modules at all; if you use a shared
(static, in C#) variable in a class, you can access it without needing an instance
of the class.
In Class1,[code=csharp]public static NWDSAConnStrings g_ConnStrings;[/code]Then in Class2 you can either access it with[code=csharp]Class1.g_Connstrings[/code] or add a using statement at the top
of the class like this:[code=csharp]using MyNamespaceName.Class1;[/code]and then just simply access
g_Connstrings like you would as if it was in a module.