Compiler Error CS0101
The namespace 'namespace' already contains a definition for 'type'
A namespace has duplicate identifiers. Rename or delete one of the duplicate identifiers. For more information, see Namespaces (C# Programming Guide)
The following sample generates CS0101:
// CS0101.cs
namespace MyNamespace
{
public class MyClass
{
static public void Main()
{
}
}
public class MyClass // CS0101
{
}
}