Granted everyone learns different. I won't argue that. But the fact is that this is, quite frankly, a trivial C# problem. This is simple variable scope and access. This should be something that you really need to know if you plan to do programming in C# as it is a pretty fundamental idea of how the language works. If you don't understand variable scope and access, then you do not understand C#.
I'm not being mean or putting people down; I'm trying to help. I didn't become a Microsoft MVP and get a job programming by not knowing what I'm talking about. I'm not trying to be high and mighty with that statement either. I'm simply saying that I have the experience in programming to know what I'm talking about. So perhaps it might be in the best interest of the original poster to take a listen to what I (and three [two in this thread, one on the linked XNA forum post] other Microsoft MVPs) have told him.
__________________
Nick Gravelyn
Microsoft MVP - DirectX/XNA
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
|