none
what is the equivalent to vb modules in c# RRS feed

  • Question

  • Hi I am a Vb.Net developer and am learning C#. In Vb.Net I would create a function to hold my connection strings in a module and then call it in my main program; to use my ADO.net connections.

    In C# I understand that I would have to use something called a static class. I ma not sure hwo to do this in this or how I would call it from the main program.

    Can someone give me an example of how this would be done?

    Thak you

    Thursday, August 1, 2013 1:29 PM

Answers