Follow class naming conventions

Metadata

ID: csharp-code-style/class-naming-conventions

Language: C#

Severity: Notice

Category: Code Style

Description

Class names should use the PascalCase and start with an uppercase.

Learn More

Non-Compliant Code Examples

class My_Class {
    void SampleMethod();
}
class myClass {
    void SampleMethod();
}
interface myInterface {
    void SampleMethod();
}

Compliant Code Examples

class MyClass {
    void SampleMethod();
}
class MyClass {
    void SampleMethod();
}
https://static.datadoghq.com/static/images/logos/github_avatar.svg https://static.datadoghq.com/static/images/logos/vscode_avatar.svg jetbrains

Seamless integrations. Try Datadog Code Analysis