TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Rule:  3@202

This rule is Obsolete
Synopsis:Use singular names for enumeration types
Language:C#
Severity Level:7
Category:Naming


Description:

For example, do not name an enumeration type Protocols but name it Protocol instead. Consider the following example in which only one option is allowed.

public enum Protocol
{
	Tcp,
	Udp,
	Http,
	Ftp
}