Ir al contenido

Class naming (ARCH001)

Esta página aún no está disponible en tu idioma.

Key dotnet.naming.class-naming · Severity warning · Category naming

Class names must follow PascalCase. Consistent naming improves readability and aligns with .NET conventions.

public class order_service
{
public void Process() { }
}
public class OrderService
{
public void Process() { }
}

Rename the class to PascalCase. If needed, suppress the rule per project/workspace via except/ignore.