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();
}