R
Rasmus Kromann-Larsen
Hey,
I just started out using Visual C# (Visual Studio .NET 2003), but am having
a little problem figuring out where to place my datastructure. I've worked
with programming alot before, but this is my first real object oriented
project. To describe my problem, I'll just outline the project I'm working
on. Basically, I'm working on a questionaire program that has a general
static datastructure used for holding the information about the
questionaire. Where do I place this general datastructure? If using several
different classes/forms, I'd have to pass references along between them,
unless I can place it somewhere general.. But OO-programming is all about
getting rid of the global variables Um, it's a bit hard to explain the
problem completely, hope some of you people understand this - probably -
trivial problem, and can give me a quick solution
Thanks,
- Rasmus.
Ps. I searched around for other newsgroups, but this one seemed to be the
one fitting my problem best - I apologize if this is completely off-topic
I just started out using Visual C# (Visual Studio .NET 2003), but am having
a little problem figuring out where to place my datastructure. I've worked
with programming alot before, but this is my first real object oriented
project. To describe my problem, I'll just outline the project I'm working
on. Basically, I'm working on a questionaire program that has a general
static datastructure used for holding the information about the
questionaire. Where do I place this general datastructure? If using several
different classes/forms, I'd have to pass references along between them,
unless I can place it somewhere general.. But OO-programming is all about
getting rid of the global variables Um, it's a bit hard to explain the
problem completely, hope some of you people understand this - probably -
trivial problem, and can give me a quick solution
Thanks,
- Rasmus.
Ps. I searched around for other newsgroups, but this one seemed to be the
one fitting my problem best - I apologize if this is completely off-topic