I really need some help understanding something in C# and I'm not really sure where to look (I have no idea what to call it or anything).
Basically, I have two classes, lets call them class A and class B. I also have a form which class A and class B are both declared in.
I need both classes to be able to send messages to a debug console and other controls in the form.
Class A and class B will also use each others data at times, is there any way of centralising data without putting somewhere external (like a db/text file).
Any got any ideas how to do this? Sending messages to a debug console is the one that stumps me most.
Question
troist
I really need some help understanding something in C# and I'm not really sure where to look (I have no idea what to call it or anything).
Basically, I have two classes, lets call them class A and class B. I also have a form which class A and class B are both declared in.
I need both classes to be able to send messages to a debug console and other controls in the form.
Class A and class B will also use each others data at times, is there any way of centralising data without putting somewhere external (like a db/text file).
Any got any ideas how to do this? Sending messages to a debug console is the one that stumps me most.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts