Newbie C# class question

Aug 3 2005 12:06 PM
Hi everyone,
I've been using Visual Basic vs MySQL, and for a lot of reasons I need to migrate to C# and still using MySQL.

In this highway I'm doing fine, but there's one thing I want you to help me:
In Visual Basic I have a module (not a class module) called functions.bas. It has all my global variables and declarations plus different purpose functions that I call from any of the forms I have.
I'd like to have the same thing in C#. Now, this is my question: is there a way to create a module (like VB 6.0) or do I need to create a class and instantiate it to access my global variables and functions?
Or
is there another way to do this that you recommend me?
Do you have any other recommendations and tips?
I'm just starting to learn C#, so actually I'm newbie yet.

Thanks for your help and time.

Answers (5)