Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Identifiers should not contain underscores

Identifiers should not contain underscores

TypeName

IdentifiersShouldNotContainUnderscores

CheckId

CA1707

Category

Microsoft.Naming

Breaking Change

Breaking

The name of an identifier contains the underscore (_) character.

By convention, identifier names do not contain the underscore (_) character. The rule checks namespaces, types, members, and parameters.

Naming conventions provide a common look for libraries that target the common language runtime. This reduces the learning curve required for new software libraries, and increases customer confidence that the library was developed by someone with expertise in developing managed code.

Remove all underscore characters from the name.

Do not exclude a warning from this rule.

Community Additions

ADD
Show:
© 2015 Microsoft