- You are seeing the following error in the console window:
error CS0101: The namespace `__' already contains a definition for `__'
CS0101 is caused when a namespace has duplicated identifiers. The example below has the same identifiers for both methods.
Error displayed in this example:
error CS0101: The namespace `ExampleNamespace' already contains a definition for `Method'
In order to fix the CS0101, you will need to ensure that each identifier in your namespace is unique. Please see how we have fixed the example below:
This error can also be fixed by ensuring that all classes have a unique identifier. It is common to have duplicate scripts in a project.
thanks this helped me alot
(OH AND FIRST ONE HERE BOYSSSSSS!!!!!!)
i don't have any repetition in my script
Please sign in to leave a comment.