Total .NET Analyzer Rule Documentation |
|
Only use the suffix 'Collection' for Collection type 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 use the suffix 'Collection' only for types that extend a collection. Using this suffix for names that are not collection types can make your code difficult to read and maintain.
Resolution
To keep your code easy to read and maintain, you should remove the suffix 'Collection' from types that do not extend a collection.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Naming Guidelines