C#

C#

Made by DeepSource

Child and parent classes cannot share the same name CS-R1103

Anti-pattern
Major

Using the same name for both the child class and the parent class can cause confusion. It is recommended that the names be as unique as possible

Bad Practice

class A : N.A
{
}

Recommended

class B : N.A
{
}