Talk:C Sharp Programming/Naming

=Enum= Some styling guides mentioned rules about enumerated types. We have the name of the enumeration itself and the names of the lables defined in the enumeration. For example: anticipatingminds.com- namingconventionsknowledgepack.aspx is unclear wether it concerns the name of the enumeration itself or the lables in it. Could someone shed some light on this subject? 84.82.112.181 (talk) 01:11, 8 January 2011 (UTC)

Classes and Structures
In the text it says "Pascal Case, no underscores or leading C, cls, or I." but in the example there is a class that starts with a C

Does this mean (in regex terms) to avoid C[A-Z].* but that C[a-z].* is ok?

How does the community feel about classes that start with the letter I?


 * The leading C, cls, or I means not to prepend those characters before the class name. If you have a class such as "Color" or "Indexer", that's perfectly acceptable.  The first two are generally pointless considering that only classnames should have a capital first letter, and prepending I is reserved for interfaces. --Sigma 7 (discuss • contribs) 18:11, 14 February 2013 (UTC)

Code Example
"Here is an example of a class that uses all of these naming conventions combined."

it does not seem to use all of them, only some.