Total .NET Analyzer Rule Documentation |
|
Use the suffix 'Collection' for collection types.
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 always add the suffix 'Collection' to types that extend collections, so that they are easy to identify in code.
Resolution
You should revise your collection declaration to include the suffix 'Collection.' For example, you would use 'ControlCollection' rather than 'Controls'.
(Note that this is standardized naming convention, so it has no effect on the execution of code.)
See Also
Naming Guidelines