[C#][Resolved]Need help with a simple (I hope) error

Started by Xero, January 21, 2011, 10:47:42 pm

Previous topic - Next topic

Xero

So the story is that I'm working on my 11th grade programming class's final project. We have to make a game in C#. Not so strong in C# so I kinda need your help guys fixing this error I'm getting or at least tell me what it means.

The error says: "A local variable named 'output' cannot be declared in this scope because it would give a different meaning to 'output', which is already used in a 'parent or current' scope to denote something else.

SORRY FOR BEING NOOB :)

Here's a screenshot in case you guys need one:
Spoiler: ShowHide






This just looks to sick!

ForeverZer0

It means you are attempting to create a local variable that uses the same namespace as another defined in its super class. Don't label it as "output". Pick another name.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Xero

This just looks to sick!