Having been in touch with C # development for four months, organize the naming conventions in C #:
One: Naming rules for variables (similar to Java)
1, the variable name is composed of letters, numbers, underscores
2. The variable name begins with a letter, an underscore, and cannot begin with a number
3. Case-sensitive
4, naming norms: Generally follow camel (camel nomenclature)--The first letter lowercase second word capitalized such as MyName
Second: class, naming rules for methods
1, the class name should be the noun and the noun phrase, uses the complete word as far as possible.
2. Use Pascal (Pascal's nomenclature)--capitalize all the first letters of the word
3. Do not use the class prefix-do not use the underscore character (_).
Other follow-up finishing, if there are errors, please also leave a message
C # Partial naming conventions