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.
Incorrect
Section titled “Incorrect”public class order_service{ public void Process() { }}Correct
Section titled “Correct”public class OrderService{ public void Process() { }}Rename the class to PascalCase. If needed, suppress the rule per project/workspace via except/ignore.