Total .NET Analyzer Rule Documentation |
|
Use the prefix 'I' for Interface names.
Remarks
Using a standardized naming convention is an important element in writing code that is easy to read, understand, and maintain. Microsoft recommends that you prefix interface names with the letter I to indicate that the type is an interface (e.g. IFormattable). This makes interface names easy to identify in code.
Resolution
Revise your interface name to include the prefix 'I'. For instance, you should use the name IComponent, rather than Component.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Interface Naming Guidelines