TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rolandpish
NA
5
0
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.
Reply
Answers (
5
)
Forwarding data to another aspx page